Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | 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.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

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.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt