V8 Project
v8::Debug::EventDetails Class Referenceabstract

An event details object passed to the debug event listener. More...

#include <v8-debug.h>

+ Inheritance diagram for v8::Debug::EventDetails:
+ Collaboration diagram for v8::Debug::EventDetails:

Public Member Functions

virtual DebugEvent GetEvent () const =0
 Event type. More...
 
virtual Handle< ObjectGetExecutionState () const =0
 Access to execution state and event data of the debug event. More...
 
virtual Handle< ObjectGetEventData () const =0
 
virtual Handle< ContextGetEventContext () const =0
 Get the context active when the debug event happened. More...
 
virtual Handle< ValueGetCallbackData () const =0
 Client data passed with the corresponding callback when it was registered. More...
 
virtual ClientDataGetClientData () const =0
 Client data passed to DebugBreakForCommand function. More...
 
virtual ~EventDetails ()
 

Detailed Description

An event details object passed to the debug event listener.

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

Constructor & Destructor Documentation

◆ ~EventDetails()

virtual v8::Debug::EventDetails::~EventDetails ( )
inlinevirtual

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

131 {}

Member Function Documentation

◆ GetCallbackData()

virtual Handle<Value> v8::Debug::EventDetails::GetCallbackData ( ) const
pure virtual

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

Implemented in v8::internal::EventDetailsImpl.

◆ GetClientData()

virtual ClientData* v8::Debug::EventDetails::GetClientData ( ) const
pure virtual

Client data passed to DebugBreakForCommand function.

The debugger takes ownership of the data and will delete it even if there is no message handler.

Implemented in v8::internal::EventDetailsImpl.

◆ GetEvent()

virtual DebugEvent v8::Debug::EventDetails::GetEvent ( ) const
pure virtual

Event type.

Implemented in v8::internal::EventDetailsImpl.

Referenced by v8::HandleDebugEvent().

+ Here is the caller graph for this function:

◆ GetEventContext()

virtual Handle<Context> v8::Debug::EventDetails::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.

Implemented in v8::internal::EventDetailsImpl.

◆ GetEventData()

virtual Handle<Object> v8::Debug::EventDetails::GetEventData ( ) const
pure virtual

Implemented in v8::internal::EventDetailsImpl.

Referenced by v8::HandleDebugEvent().

+ Here is the caller graph for this function:

◆ GetExecutionState()

virtual Handle<Object> v8::Debug::EventDetails::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.

Implemented in v8::internal::EventDetailsImpl.

Referenced by v8::HandleDebugEvent().

+ Here is the caller graph for this function:

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