v8  8.1.307(node14.1.0)
V8 is Google's open source JavaScript engine
V8InspectorSession Class Referenceabstract

#include <v8-inspector.h>

Data Structures

class  Inspectable
 

Public Member Functions

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

Static Public Member Functions

static bool canDispatchMethod (const StringView &method)
 

Detailed Description

Definition at line 122 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 ( const StringView breakReason,
const StringView breakDetails 
)
pure virtual

◆ cancelPauseOnNextStatement()

virtual void cancelPauseOnNextStatement ( )
pure virtual

◆ canDispatchMethod()

static bool canDispatchMethod ( const StringView method)
static

◆ dispatchProtocolMessage()

virtual void dispatchProtocolMessage ( const StringView message)
pure virtual

◆ releaseObjectGroup()

virtual void releaseObjectGroup ( const StringView )
pure virtual

◆ resume()

virtual void resume ( )
pure virtual

◆ schedulePauseOnNextStatement()

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

◆ searchInTextByLines()

virtual std::vector<std::unique_ptr<protocol::Debugger::API::SearchMatch> > searchInTextByLines ( const StringView text,
const 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 ( const StringView occassion)
pure virtual

◆ unwrapObject()

virtual bool unwrapObject ( std::unique_ptr< StringBuffer > *  error,
const 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 ,
const StringView groupName,
bool  generatePreview 
)
pure virtual

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