Public Member Functions | List of all members
v8::Debug::EventDetails Class Reference

#include <v8-debug.h>

Public Member Functions

virtual DebugEvent GetEvent () const =0
virtual Handle< ObjectGetExecutionState () const =0
virtual Handle< ObjectGetEventData () const =0
virtual Handle< ContextGetEventContext () const =0
virtual Handle< ValueGetCallbackData () const =0
virtual ClientDataGetClientData () const =0

Detailed Description

An event details object passed to the debug event listener.

Member Function Documentation

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

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

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.

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

Event type.

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.

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.

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