|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
(default)
Class CefV8StackTrace
CefBaseRefCounted
|
+--CefV8StackTrace
in cef_v8.h
- class CefV8StackTrace
- extends CefBaseRefCounted
Class representing a V8 stack trace handle. V8 handles can only be accessed
from the thread on which they are created. Valid threads for creating a V8
handle include the render process main thread (TID_RENDERER) and WebWorker
threads. A task runner for posting tasks on the associated thread can be
retrieved via the CefV8Context::GetTaskRunner() method.
Method Summary |
static CefRefPtr< CefV8StackTrace > |
GetCurrent( int frame_limit )
Returns the stack trace for the currently active context. |
virtual CefRefPtr< CefV8StackFrame > |
GetFrame( int index )= 0
Returns the stack frame at the specified 0-based index. |
virtual int |
GetFrameCount()= 0
Returns the number of stack frames. |
virtual bool |
IsValid()= 0
Returns true if the underlying handle is valid and it can be accessed on
the current thread. |
GetCurrent
public static CefRefPtr< CefV8StackTrace > GetCurrent( int frame_limit );
- Returns the stack trace for the currently active context. |frame_limit| is
the maximum number of frames that will be captured.
GetFrame
public virtual CefRefPtr< CefV8StackFrame > GetFrame( int index )= 0;
- Returns the stack frame at the specified 0-based index.
GetFrameCount
public virtual int GetFrameCount()= 0;
- Returns the number of stack frames.
IsValid
public virtual bool IsValid()= 0;
- Returns true if the underlying handle is valid and it can be accessed on
the current thread. Do not call any other methods if this method returns
false.
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt