V8 Project
|
#include <debug.h>
Public Member Functions | |
EventDetailsImpl (DebugEvent event, Handle< JSObject > exec_state, Handle< JSObject > event_data, Handle< Object > callback_data, v8::Debug::ClientData *client_data) | |
virtual DebugEvent | GetEvent () const |
Event type. More... | |
virtual v8::Handle< v8::Object > | GetExecutionState () const |
Access to execution state and event data of the debug event. More... | |
virtual v8::Handle< v8::Object > | GetEventData () const |
virtual v8::Handle< v8::Context > | GetEventContext () const |
Get the context active when the debug event happened. More... | |
virtual v8::Handle< v8::Value > | GetCallbackData () const |
Client data passed with the corresponding callback when it was registered. More... | |
virtual v8::Debug::ClientData * | GetClientData () const |
Client data passed to DebugBreakForCommand function. More... | |
![]() | |
virtual | ~EventDetails () |
Private Attributes | |
DebugEvent | event_ |
Handle< JSObject > | exec_state_ |
Handle< JSObject > | event_data_ |
Handle< Object > | callback_data_ |
v8::Debug::ClientData * | client_data_ |
v8::internal::EventDetailsImpl::EventDetailsImpl | ( | DebugEvent | event, |
Handle< JSObject > | exec_state, | ||
Handle< JSObject > | event_data, | ||
Handle< Object > | callback_data, | ||
v8::Debug::ClientData * | client_data | ||
) |
Definition at line 3239 of file debug.cc.
|
virtual |
Client data passed with the corresponding callback when it was registered.
Implements v8::Debug::EventDetails.
Definition at line 3271 of file debug.cc.
References callback_data_, and v8::Utils::ToLocal().
|
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.
Implements v8::Debug::EventDetails.
Definition at line 3276 of file debug.cc.
References client_data_.
|
virtual |
Event type.
Implements v8::Debug::EventDetails.
Definition at line 3251 of file debug.cc.
References event_.
|
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.
Implements v8::Debug::EventDetails.
Definition at line 3266 of file debug.cc.
References exec_state_, and v8::internal::GetDebugEventContext().
|
virtual |
Implements v8::Debug::EventDetails.
Definition at line 3261 of file debug.cc.
References event_data_, and v8::Utils::ToLocal().
|
virtual |
Access to execution state and event data of the debug event.
Don't store these cross callbacks as their content becomes invalid.
Implements v8::Debug::EventDetails.
Definition at line 3256 of file debug.cc.
References exec_state_, and v8::Utils::ToLocal().
Definition at line 267 of file debug.h.
Referenced by GetCallbackData().
|
private |
Definition at line 269 of file debug.h.
Referenced by GetClientData().
|
private |
Definition at line 264 of file debug.h.
Referenced by GetEvent().
Definition at line 266 of file debug.h.
Referenced by GetEventData().
Definition at line 265 of file debug.h.
Referenced by GetEventContext(), and GetExecutionState().