v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
V8InspectorSession Class Referenceabstract

#include <v8-inspector.h>

Data Structures

struct  EvaluateResult
 
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 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
 
virtual EvaluateResult evaluate (v8::Local< v8::Context > context, StringView expression, bool includeCommandLineAPI=false)=0
 
virtual void stop ()=0
 

Static Public Member Functions

static bool canDispatchMethod (StringView method)
 

Detailed Description

Definition at line 165 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

◆ evaluate()

virtual EvaluateResult evaluate ( v8::Local< v8::Context context,
StringView  expression,
bool  includeCommandLineAPI = false 
)
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

◆ stop()

virtual void stop ( )
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: