v8  6.2.414 (node 8.16.2)
V8 is Google's open source JavaScript engine
Debug::EventDetails Class Referenceabstract

#include <v8-debug.h>

Public Member Functions

virtual DebugEvent GetEvent () const =0
 
virtual Local< ObjectGetExecutionState () const =0
 
virtual Local< ObjectGetEventData () const =0
 
virtual Local< ContextGetEventContext () const =0
 
virtual Local< ValueGetCallbackData () const =0
 
virtual ClientDataGetClientData () const =0
 
virtual IsolateGetIsolate () const =0
 
virtual ~EventDetails ()
 

Detailed Description

An event details object passed to the debug event listener.

Definition at line 93 of file v8-debug.h.

Constructor & Destructor Documentation

◆ ~EventDetails()

virtual ~EventDetails ( )
inlinevirtual

Definition at line 127 of file v8-debug.h.

Member Function Documentation

◆ GetCallbackData()

virtual Local<Value> GetCallbackData ( ) const
pure virtual

Client data passed with the corresponding callback when it was registered.

◆ GetClientData()

virtual ClientData* GetClientData ( ) const
pure virtual

This is now a dummy that returns nullptr.

◆ GetEvent()

virtual DebugEvent GetEvent ( ) const
pure virtual

Event type.

◆ GetEventContext()

virtual Local<Context> GetEventContext ( ) const
pure virtual

Get the context active when the debug event happened. Note this is not the current active context as the JavaScript part of the debugger is running in its own context which is entered at this point.

◆ GetEventData()

virtual Local<Object> GetEventData ( ) const
pure virtual

◆ GetExecutionState()

virtual Local<Object> GetExecutionState ( ) const
pure virtual

Access to execution state and event data of the debug event. Don't store these cross callbacks as their content becomes invalid.

◆ GetIsolate()

virtual Isolate* GetIsolate ( ) const
pure virtual

The documentation for this class was generated from the following file: