V8 Project
|
A message object passed to the debug message handler. More...
#include <v8-debug.h>
Public Member Functions | |
virtual bool | IsEvent () const =0 |
Check type of message. More... | |
virtual bool | IsResponse () const =0 |
virtual DebugEvent | GetEvent () const =0 |
virtual bool | WillStartRunning () const =0 |
Indicate whether this is a response to a continue command which will start the VM running after this is processed. More... | |
virtual Handle< Object > | GetExecutionState () const =0 |
Access to execution state and event data. More... | |
virtual Handle< Object > | GetEventData () const =0 |
virtual Handle< String > | GetJSON () const =0 |
Get the debugger protocol JSON. More... | |
virtual Handle< Context > | GetEventContext () const =0 |
Get the context active when the debug event happened. More... | |
virtual ClientData * | GetClientData () const =0 |
Client data passed with the corresponding request if any. More... | |
virtual Isolate * | GetIsolate () const =0 |
virtual | ~Message () |
A message object passed to the debug message handler.
Definition at line 44 of file v8-debug.h.
|
inlinevirtual |
Definition at line 90 of file v8-debug.h.
|
pure virtual |
Client data passed with the corresponding request if any.
This is the client_data data value passed into Debug::SendCommand along with the request that led to the message or NULL if the message is an event. The debugger takes ownership of the data and will delete it even if there is no message handler.
Implemented in v8::internal::MessageImpl.
|
pure virtual |
Implemented in v8::internal::MessageImpl.
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::MessageImpl.
Implemented in v8::internal::MessageImpl.
Access to execution state and event data.
Don't store these cross callbacks as their content becomes invalid. These objects are from the debugger event that started the debug message loop.
Implemented in v8::internal::MessageImpl.
|
pure virtual |
Implemented in v8::internal::MessageImpl.
Get the debugger protocol JSON.
Implemented in v8::internal::MessageImpl.
|
pure virtual |
Check type of message.
Implemented in v8::internal::MessageImpl.
|
pure virtual |
Implemented in v8::internal::MessageImpl.
|
pure virtual |
Indicate whether this is a response to a continue command which will start the VM running after this is processed.
Implemented in v8::internal::MessageImpl.