Class representing a V8 stack trace handle.
More...
#include "include/cef_v8.h"
|
virtual bool | IsValid ()=0 |
| Returns true if the underlying handle is valid and it can be accessed on the current thread. More...
|
|
virtual int | GetFrameCount ()=0 |
| Returns the number of stack frames. More...
|
|
virtual CefRefPtr< CefV8StackFrame > | GetFrame (int index)=0 |
| Returns the stack frame at the specified 0-based index. More...
|
|
virtual void | AddRef () const =0 |
| Called to increment the reference count for the object. More...
|
|
virtual bool | Release () const =0 |
| Called to decrement the reference count for the object. More...
|
|
virtual bool | HasOneRef () const =0 |
| Returns true if the reference count is 1. More...
|
|
virtual bool | HasAtLeastOneRef () const =0 |
| Returns true if the reference count is at least 1. More...
|
|
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.
◆ GetCurrent()
Returns the stack trace for the currently active context.
|frame_limit| is the maximum number of frames that will be captured.
◆ GetFrame()
Returns the stack frame at the specified 0-based index.
◆ GetFrameCount()
virtual int CefV8StackTrace::GetFrameCount |
( |
| ) |
|
|
pure virtual |
Returns the number of stack frames.
◆ IsValid()
virtual bool CefV8StackTrace::IsValid |
( |
| ) |
|
|
pure virtual |
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.
The documentation for this class was generated from the following file: