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

#include <v8-inspector.h>

Public Types

typedef void(* TimerCallback) (void *)
 

Public Member Functions

virtual ~V8InspectorClient ()=default
 
virtual void runMessageLoopOnPause (int contextGroupId)
 
virtual void runMessageLoopOnInstrumentationPause (int contextGroupId)
 
virtual void quitMessageLoopOnPause ()
 
virtual void runIfWaitingForDebugger (int contextGroupId)
 
virtual void muteMetrics (int contextGroupId)
 
virtual void unmuteMetrics (int contextGroupId)
 
virtual void beginUserGesture ()
 
virtual void endUserGesture ()
 
virtual std::unique_ptr< DeepSerializationResultdeepSerialize (v8::Local< v8::Value > v8Value, int maxDepth, v8::Local< v8::Object > additionalParameters)
 
virtual std::unique_ptr< StringBuffervalueSubtype (v8::Local< v8::Value >)
 
virtual std::unique_ptr< StringBufferdescriptionForValueSubtype (v8::Local< v8::Context >, v8::Local< v8::Value >)
 
virtual bool isInspectableHeapObject (v8::Local< v8::Object >)
 
virtual v8::Local< v8::ContextensureDefaultContextInGroup (int contextGroupId)
 
virtual void beginEnsureAllContextsInGroup (int contextGroupId)
 
virtual void endEnsureAllContextsInGroup (int contextGroupId)
 
virtual void installAdditionalCommandLineAPI (v8::Local< v8::Context >, v8::Local< v8::Object >)
 
virtual void consoleAPIMessage (int contextGroupId, v8::Isolate::MessageErrorLevel level, const StringView &message, const StringView &url, unsigned lineNumber, unsigned columnNumber, V8StackTrace *)
 
virtual v8::MaybeLocal< v8::ValuememoryInfo (v8::Isolate *, v8::Local< v8::Context >)
 
virtual void consoleTime (const StringView &title)
 
virtual void consoleTimeEnd (const StringView &title)
 
virtual void consoleTimeStamp (const StringView &title)
 
virtual void consoleClear (int contextGroupId)
 
virtual double currentTimeMS ()
 
virtual void startRepeatingTimer (double, TimerCallback, void *data)
 
virtual void cancelTimer (void *data)
 
virtual bool canExecuteScripts (int contextGroupId)
 
virtual void maxAsyncCallStackDepthChanged (int depth)
 
virtual std::unique_ptr< StringBufferresourceNameToUrl (const StringView &resourceName)
 
virtual int64_t generateUniqueId ()
 
virtual void dispatchError (v8::Local< v8::Context >, v8::Local< v8::Message >, v8::Local< v8::Value >)
 

Detailed Description

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

Member Typedef Documentation

◆ TimerCallback

typedef void(* TimerCallback) (void *)

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

Constructor & Destructor Documentation

◆ ~V8InspectorClient()

virtual ~V8InspectorClient ( )
virtualdefault

Member Function Documentation

◆ beginEnsureAllContextsInGroup()

virtual void beginEnsureAllContextsInGroup ( int  contextGroupId)
inlinevirtual

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

◆ beginUserGesture()

virtual void beginUserGesture ( )
inlinevirtual

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

◆ cancelTimer()

virtual void cancelTimer ( void *  data)
inlinevirtual

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

◆ canExecuteScripts()

virtual bool canExecuteScripts ( int  contextGroupId)
inlinevirtual

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

◆ consoleAPIMessage()

virtual void consoleAPIMessage ( int  contextGroupId,
v8::Isolate::MessageErrorLevel  level,
const StringView message,
const StringView url,
unsigned  lineNumber,
unsigned  columnNumber,
V8StackTrace  
)
inlinevirtual

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

◆ consoleClear()

virtual void consoleClear ( int  contextGroupId)
inlinevirtual

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

◆ consoleTime()

virtual void consoleTime ( const StringView title)
inlinevirtual

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

◆ consoleTimeEnd()

virtual void consoleTimeEnd ( const StringView title)
inlinevirtual

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

◆ consoleTimeStamp()

virtual void consoleTimeStamp ( const StringView title)
inlinevirtual

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

◆ currentTimeMS()

virtual double currentTimeMS ( )
inlinevirtual

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

◆ deepSerialize()

virtual std::unique_ptr< DeepSerializationResult > deepSerialize ( v8::Local< v8::Value v8Value,
int  maxDepth,
v8::Local< v8::Object additionalParameters 
)
inlinevirtual

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

◆ descriptionForValueSubtype()

virtual std::unique_ptr< StringBuffer > descriptionForValueSubtype ( v8::Local< v8::Context ,
v8::Local< v8::Value  
)
inlinevirtual

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

◆ dispatchError()

virtual void dispatchError ( v8::Local< v8::Context ,
v8::Local< v8::Message ,
v8::Local< v8::Value  
)
inlinevirtual

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

◆ endEnsureAllContextsInGroup()

virtual void endEnsureAllContextsInGroup ( int  contextGroupId)
inlinevirtual

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

◆ endUserGesture()

virtual void endUserGesture ( )
inlinevirtual

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

◆ ensureDefaultContextInGroup()

virtual v8::Local< v8::Context > ensureDefaultContextInGroup ( int  contextGroupId)
inlinevirtual

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

◆ generateUniqueId()

virtual int64_t generateUniqueId ( )
inlinevirtual

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

◆ installAdditionalCommandLineAPI()

virtual void installAdditionalCommandLineAPI ( v8::Local< v8::Context ,
v8::Local< v8::Object  
)
inlinevirtual

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

◆ isInspectableHeapObject()

virtual bool isInspectableHeapObject ( v8::Local< v8::Object )
inlinevirtual

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

◆ maxAsyncCallStackDepthChanged()

virtual void maxAsyncCallStackDepthChanged ( int  depth)
inlinevirtual

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

◆ memoryInfo()

virtual v8::MaybeLocal< v8::Value > memoryInfo ( v8::Isolate ,
v8::Local< v8::Context  
)
inlinevirtual

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

◆ muteMetrics()

virtual void muteMetrics ( int  contextGroupId)
inlinevirtual

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

◆ quitMessageLoopOnPause()

virtual void quitMessageLoopOnPause ( )
inlinevirtual

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

◆ resourceNameToUrl()

virtual std::unique_ptr< StringBuffer > resourceNameToUrl ( const StringView resourceName)
inlinevirtual

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

◆ runIfWaitingForDebugger()

virtual void runIfWaitingForDebugger ( int  contextGroupId)
inlinevirtual

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

◆ runMessageLoopOnInstrumentationPause()

virtual void runMessageLoopOnInstrumentationPause ( int  contextGroupId)
inlinevirtual

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

◆ runMessageLoopOnPause()

virtual void runMessageLoopOnPause ( int  contextGroupId)
inlinevirtual

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

◆ startRepeatingTimer()

virtual void startRepeatingTimer ( double  ,
TimerCallback  ,
void *  data 
)
inlinevirtual

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

◆ unmuteMetrics()

virtual void unmuteMetrics ( int  contextGroupId)
inlinevirtual

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

◆ valueSubtype()

virtual std::unique_ptr< StringBuffer > valueSubtype ( v8::Local< v8::Value )
inlinevirtual

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


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