The OpenD Programming Language

cef_v8stack_trace_t

Structure 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 cef_v8context_t::get_task_runner() function.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_frame
cef_v8stack_frame_t* function(cef_v8stack_trace_t* self, int index) nothrow get_frame;

Returns the stack frame at the specified 0-based index.

get_frame_count
int function(cef_v8stack_trace_t* self) nothrow get_frame_count;

Returns the number of stack frames.

is_valid
int function(cef_v8stack_trace_t* self) nothrow is_valid;

Returns true (1) if the underlying handle is valid and it can be accessed on the current thread. Do not call any other functions if this function returns false (0).

Meta