How to get a CefV8StackFrame

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How to get a CefV8StackFrame

Postby user6294 » Mon Nov 30, 2020 4:11 pm

Hi

When I'm in one of the Cef Callbacks and I have a context, how can I iterate through the stack and get a CefV8StackFrame or find out
about where I am in the JavaScript codebase/layers when I'm in native code.

Thanks
user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm

Re: How to get a CefV8StackFrame

Postby amaitland » Mon Nov 30, 2020 6:35 pm

The unit tests have an example you can use to get started.

https://github.com/chromiumembedded/cef ... t.cc#L2415
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: How to get a CefV8StackFrame

Postby user6294 » Tue Dec 01, 2020 4:14 am

Hi Alex,

Thank you.

Chi
user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 59 guests