Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
v8_inspector::V8Inspector Class Referenceabstract

#include <v8-inspector.h>

Classes

class  Channel
 

Public Types

enum  ClientTrustLevel { kUntrusted , kFullyTrusted }
 
enum  SessionPauseState { kWaitingForDebugger , kNotWaitingForDebugger }
 

Public Member Functions

virtual ~V8Inspector ()=default
 
virtual void contextCreated (const V8ContextInfo &)=0
 
virtual void contextDestroyed (v8::Local< v8::Context >)=0
 
virtual void resetContextGroup (int contextGroupId)=0
 
virtual v8::MaybeLocal< v8::ContextcontextById (int contextId)=0
 
virtual V8DebuggerId uniqueDebuggerId (int contextId)=0
 
virtual void idleStarted ()=0
 
virtual void idleFinished ()=0
 
virtual void asyncTaskScheduled (StringView taskName, void *task, bool recurring)=0
 
virtual void asyncTaskCanceled (void *task)=0
 
virtual void asyncTaskStarted (void *task)=0
 
virtual void asyncTaskFinished (void *task)=0
 
virtual void allAsyncTasksCanceled ()=0
 
virtual V8StackTraceId storeCurrentStackTrace (StringView description)=0
 
virtual void externalAsyncTaskStarted (const V8StackTraceId &parent)=0
 
virtual void externalAsyncTaskFinished (const V8StackTraceId &parent)=0
 
virtual unsigned exceptionThrown (v8::Local< v8::Context >, StringView message, v8::Local< v8::Value > exception, StringView detailedMessage, StringView url, unsigned lineNumber, unsigned columnNumber, std::unique_ptr< V8StackTrace >, int scriptId)=0
 
virtual void exceptionRevoked (v8::Local< v8::Context >, unsigned exceptionId, StringView message)=0
 
virtual bool associateExceptionData (v8::Local< v8::Context >, v8::Local< v8::Value > exception, v8::Local< v8::Name > key, v8::Local< v8::Value > value)=0
 
virtual std::unique_ptr< V8InspectorSessionconnect (int contextGroupId, Channel *, StringView state, ClientTrustLevel client_trust_level, SessionPauseState=kNotWaitingForDebugger)
 
virtual std::unique_ptr< V8StackTracecreateStackTrace (v8::Local< v8::StackTrace >)=0
 
virtual std::unique_ptr< V8StackTracecaptureStackTrace (bool fullStack)=0
 

Static Public Member Functions

static std::unique_ptr< V8Inspectorcreate (v8::Isolate *, V8InspectorClient *)
 

Member Enumeration Documentation

◆ ClientTrustLevel

Enumerator
kUntrusted 
kFullyTrusted 

◆ SessionPauseState

Enumerator
kWaitingForDebugger 
kNotWaitingForDebugger 

Constructor & Destructor Documentation

◆ ~V8Inspector()

virtual v8_inspector::V8Inspector::~V8Inspector ( )
virtualdefault

Member Function Documentation

◆ allAsyncTasksCanceled()

virtual void v8_inspector::V8Inspector::allAsyncTasksCanceled ( )
pure virtual

◆ associateExceptionData()

virtual bool v8_inspector::V8Inspector::associateExceptionData ( v8::Local< v8::Context ,
v8::Local< v8::Value exception,
v8::Local< v8::Name key,
v8::Local< v8::Value value 
)
pure virtual

◆ asyncTaskCanceled()

virtual void v8_inspector::V8Inspector::asyncTaskCanceled ( void *  task)
pure virtual

◆ asyncTaskFinished()

virtual void v8_inspector::V8Inspector::asyncTaskFinished ( void *  task)
pure virtual

◆ asyncTaskScheduled()

virtual void v8_inspector::V8Inspector::asyncTaskScheduled ( StringView  taskName,
void *  task,
bool  recurring 
)
pure virtual

◆ asyncTaskStarted()

virtual void v8_inspector::V8Inspector::asyncTaskStarted ( void *  task)
pure virtual

◆ captureStackTrace()

virtual std::unique_ptr< V8StackTrace > v8_inspector::V8Inspector::captureStackTrace ( bool  fullStack)
pure virtual

◆ connect()

virtual std::unique_ptr< V8InspectorSession > v8_inspector::V8Inspector::connect ( int  contextGroupId,
Channel ,
StringView  state,
ClientTrustLevel  client_trust_level,
SessionPauseState  = kNotWaitingForDebugger 
)
inlinevirtual

◆ contextById()

virtual v8::MaybeLocal< v8::Context > v8_inspector::V8Inspector::contextById ( int  contextId)
pure virtual

◆ contextCreated()

virtual void v8_inspector::V8Inspector::contextCreated ( const V8ContextInfo )
pure virtual

◆ contextDestroyed()

virtual void v8_inspector::V8Inspector::contextDestroyed ( v8::Local< v8::Context )
pure virtual

◆ create()

static std::unique_ptr< V8Inspector > v8_inspector::V8Inspector::create ( v8::Isolate ,
V8InspectorClient  
)
static

◆ createStackTrace()

virtual std::unique_ptr< V8StackTrace > v8_inspector::V8Inspector::createStackTrace ( v8::Local< v8::StackTrace )
pure virtual

◆ exceptionRevoked()

virtual void v8_inspector::V8Inspector::exceptionRevoked ( v8::Local< v8::Context ,
unsigned  exceptionId,
StringView  message 
)
pure virtual

◆ exceptionThrown()

virtual unsigned v8_inspector::V8Inspector::exceptionThrown ( v8::Local< v8::Context ,
StringView  message,
v8::Local< v8::Value exception,
StringView  detailedMessage,
StringView  url,
unsigned  lineNumber,
unsigned  columnNumber,
std::unique_ptr< V8StackTrace ,
int  scriptId 
)
pure virtual

◆ externalAsyncTaskFinished()

virtual void v8_inspector::V8Inspector::externalAsyncTaskFinished ( const V8StackTraceId parent)
pure virtual

◆ externalAsyncTaskStarted()

virtual void v8_inspector::V8Inspector::externalAsyncTaskStarted ( const V8StackTraceId parent)
pure virtual

◆ idleFinished()

virtual void v8_inspector::V8Inspector::idleFinished ( )
pure virtual

◆ idleStarted()

virtual void v8_inspector::V8Inspector::idleStarted ( )
pure virtual

◆ resetContextGroup()

virtual void v8_inspector::V8Inspector::resetContextGroup ( int  contextGroupId)
pure virtual

◆ storeCurrentStackTrace()

virtual V8StackTraceId v8_inspector::V8Inspector::storeCurrentStackTrace ( StringView  description)
pure virtual

◆ uniqueDebuggerId()

virtual V8DebuggerId v8_inspector::V8Inspector::uniqueDebuggerId ( int  contextId)
pure virtual

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