Loading...
Searching...
No Matches
Public Member Functions | List of all members
v8::Debug::Message Class Referenceabstract

#include <v8-debug.h>

Public Member Functions

virtual bool IsEvent () const =0
 
virtual bool IsResponse () const =0
 
virtual DebugEvent GetEvent () const =0
 
virtual bool WillStartRunning () const =0
 
virtual Local< ObjectGetExecutionState () const =0
 
virtual Local< ObjectGetEventData () const =0
 
virtual Local< StringGetJSON () const =0
 
virtual Local< ContextGetEventContext () const =0
 
virtual ClientDataGetClientData () const =0
 
virtual IsolateGetIsolate () const =0
 
virtual ~Message ()
 

Detailed Description

A message object passed to the debug message handler.

Constructor & Destructor Documentation

◆ ~Message()

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

Member Function Documentation

◆ GetClientData()

virtual ClientData * v8::Debug::Message::GetClientData ( ) const
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.

◆ GetEvent()

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

◆ GetEventContext()

virtual Local< Context > v8::Debug::Message::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 > v8::Debug::Message::GetEventData ( ) const
pure virtual

◆ GetExecutionState()

virtual Local< Object > v8::Debug::Message::GetExecutionState ( ) const
pure virtual

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.

◆ GetIsolate()

virtual Isolate * v8::Debug::Message::GetIsolate ( ) const
pure virtual

◆ GetJSON()

virtual Local< String > v8::Debug::Message::GetJSON ( ) const
pure virtual

Get the debugger protocol JSON.

◆ IsEvent()

virtual bool v8::Debug::Message::IsEvent ( ) const
pure virtual

Check type of message.

◆ IsResponse()

virtual bool v8::Debug::Message::IsResponse ( ) const
pure virtual

◆ WillStartRunning()

virtual bool v8::Debug::Message::WillStartRunning ( ) const
pure virtual

Indicate whether this is a response to a continue command which will start the VM running after this is processed.


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