v8  9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
V8InspectorSession Class Referenceabstract

#include <v8-inspector.h>

Data Structures

class  CommandLineAPIScope
 
class  Inspectable
 

Public Member Functions

virtual ~V8InspectorSession ()=default
 
virtual void addInspectedObject (std::unique_ptr< Inspectable >)=0
 
virtual void dispatchProtocolMessage (StringView message)=0
 
virtual std::vector< uint8_t > state ()=0
 
virtual std::vector< std::unique_ptr< protocol::Schema::API::Domain > > supportedDomains ()=0
 
virtual std::unique_ptr< V8InspectorSession::CommandLineAPIScopeinitializeCommandLineAPIScope (int executionContextId)=0
 
virtual void schedulePauseOnNextStatement (StringView breakReason, StringView breakDetails)=0
 
virtual void cancelPauseOnNextStatement ()=0
 
virtual void breakProgram (StringView breakReason, StringView breakDetails)=0
 
virtual void setSkipAllPauses (bool)=0
 
virtual void resume (bool setTerminateOnResume=false)=0
 
virtual void stepOver ()=0
 
virtual std::vector< std::unique_ptr< protocol::Debugger::API::SearchMatch > > searchInTextByLines (StringView text, StringView query, bool caseSensitive, bool isRegex)=0
 
virtual std::unique_ptr< protocol::Runtime::API::RemoteObject > wrapObject (v8::Local< v8::Context >, v8::Local< v8::Value >, StringView groupName, bool generatePreview)=0
 
virtual bool unwrapObject (std::unique_ptr< StringBuffer > *error, StringView objectId, v8::Local< v8::Value > *, v8::Local< v8::Context > *, std::unique_ptr< StringBuffer > *objectGroup)=0
 
virtual void releaseObjectGroup (StringView)=0
 
virtual void triggerPreciseCoverageDeltaUpdate (StringView occasion)=0
 

Static Public Member Functions

static bool canDispatchMethod (StringView method)
 

Detailed Description

Definition at line 124 of file v8-inspector.h.

Constructor & Destructor Documentation

◆ ~V8InspectorSession()

virtual ~V8InspectorSession ( )
virtualdefault

Member Function Documentation

◆ addInspectedObject()

virtual void addInspectedObject ( std::unique_ptr< Inspectable )
pure virtual

◆ breakProgram()

virtual void breakProgram ( StringView  breakReason,
StringView  breakDetails 
)
pure virtual

◆ cancelPauseOnNextStatement()

virtual void cancelPauseOnNextStatement ( )
pure virtual

◆ canDispatchMethod()

static bool canDispatchMethod ( StringView  method)
static

◆ dispatchProtocolMessage()

virtual void dispatchProtocolMessage ( StringView  message)
pure virtual

◆ initializeCommandLineAPIScope()

virtual std::unique_ptr<V8InspectorSession::CommandLineAPIScope> initializeCommandLineAPIScope ( int  executionContextId)
pure virtual

◆ releaseObjectGroup()

virtual void releaseObjectGroup ( StringView  )
pure virtual

◆ resume()

virtual void resume ( bool  setTerminateOnResume = false)
pure virtual

◆ schedulePauseOnNextStatement()

virtual void schedulePauseOnNextStatement ( StringView  breakReason,
StringView  breakDetails 
)
pure virtual

◆ searchInTextByLines()

virtual std::vector<std::unique_ptr<protocol::Debugger::API::SearchMatch> > searchInTextByLines ( StringView  text,
StringView  query,
bool  caseSensitive,
bool  isRegex 
)
pure virtual

◆ setSkipAllPauses()

virtual void setSkipAllPauses ( bool  )
pure virtual

◆ state()

virtual std::vector<uint8_t> state ( )
pure virtual

◆ stepOver()

virtual void stepOver ( )
pure virtual

◆ supportedDomains()

virtual std::vector<std::unique_ptr<protocol::Schema::API::Domain> > supportedDomains ( )
pure virtual

◆ triggerPreciseCoverageDeltaUpdate()

virtual void triggerPreciseCoverageDeltaUpdate ( StringView  occasion)
pure virtual

◆ unwrapObject()

virtual bool unwrapObject ( std::unique_ptr< StringBuffer > *  error,
StringView  objectId,
v8::Local< v8::Value > *  ,
v8::Local< v8::Context > *  ,
std::unique_ptr< StringBuffer > *  objectGroup 
)
pure virtual

◆ wrapObject()

virtual std::unique_ptr<protocol::Runtime::API::RemoteObject> wrapObject ( v8::Local< v8::Context ,
v8::Local< v8::Value ,
StringView  groupName,
bool  generatePreview 
)
pure virtual

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