v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::debug::DebugDelegate Class Reference

#include <debug-interface.h>

Inheritance diagram for v8::debug::DebugDelegate:
Collaboration diagram for v8::debug::DebugDelegate:

Public Types

enum class  ActionAfterInstrumentation { kPause , kPauseIfBreakpointsHit , kContinue }
 

Public Member Functions

virtual ~DebugDelegate ()=default
 
virtual void ScriptCompiled (v8::Local< Script > script, bool is_live_edited, bool has_compile_error)
 
virtual void BreakProgramRequested (v8::Local< v8::Context > paused_context, const std::vector< debug::BreakpointId > &inspector_break_points_hit, base::EnumSet< BreakReason > break_reasons={})
 
virtual ActionAfterInstrumentation BreakOnInstrumentation (v8::Local< v8::Context > paused_context, const debug::BreakpointId instrumentationId)
 
virtual void ExceptionThrown (v8::Local< v8::Context > paused_context, v8::Local< v8::Value > exception, v8::Local< v8::Value > promise, bool is_uncaught, ExceptionType exception_type)
 
virtual bool IsFunctionBlackboxed (v8::Local< debug::Script > script, const debug::Location &start, const debug::Location &end)
 
virtual bool ShouldBeSkipped (v8::Local< v8::debug::Script > script, int line, int column)
 
virtual void BreakpointConditionEvaluated (v8::Local< v8::Context > context, debug::BreakpointId breakpoint_id, bool exception_thrown, v8::Local< v8::Value > exception)
 

Detailed Description

Definition at line 299 of file debug-interface.h.

Member Enumeration Documentation

◆ ActionAfterInstrumentation

Enumerator
kPause 
kPauseIfBreakpointsHit 
kContinue 

Definition at line 310 of file debug-interface.h.

Constructor & Destructor Documentation

◆ ~DebugDelegate()

virtual v8::debug::DebugDelegate::~DebugDelegate ( )
virtualdefault

Member Function Documentation

◆ BreakOnInstrumentation()

virtual ActionAfterInstrumentation v8::debug::DebugDelegate::BreakOnInstrumentation ( v8::Local< v8::Context > paused_context,
const debug::BreakpointId instrumentationId )
inlinevirtual

Reimplemented in v8_inspector::V8Debugger.

Definition at line 315 of file debug-interface.h.

Here is the caller graph for this function:

◆ BreakpointConditionEvaluated()

virtual void v8::debug::DebugDelegate::BreakpointConditionEvaluated ( v8::Local< v8::Context > context,
debug::BreakpointId breakpoint_id,
bool exception_thrown,
v8::Local< v8::Value > exception )
inlinevirtual

Reimplemented in v8_inspector::V8Debugger.

Definition at line 336 of file debug-interface.h.

Here is the caller graph for this function:

◆ BreakProgramRequested()

virtual void v8::debug::DebugDelegate::BreakProgramRequested ( v8::Local< v8::Context > paused_context,
const std::vector< debug::BreakpointId > & inspector_break_points_hit,
base::EnumSet< BreakReason > break_reasons = {} )
inlinevirtual

Definition at line 306 of file debug-interface.h.

Here is the caller graph for this function:

◆ ExceptionThrown()

virtual void v8::debug::DebugDelegate::ExceptionThrown ( v8::Local< v8::Context > paused_context,
v8::Local< v8::Value > exception,
v8::Local< v8::Value > promise,
bool is_uncaught,
ExceptionType exception_type )
inlinevirtual

Reimplemented in v8::internal::wasm::gdb_server::GdbServer::DebugDelegate, and v8_inspector::V8Debugger.

Definition at line 320 of file debug-interface.h.

Here is the caller graph for this function:

◆ IsFunctionBlackboxed()

virtual bool v8::debug::DebugDelegate::IsFunctionBlackboxed ( v8::Local< debug::Script > script,
const debug::Location & start,
const debug::Location & end )
inlinevirtual

Reimplemented in v8::internal::wasm::gdb_server::GdbServer::DebugDelegate, and v8_inspector::V8Debugger.

Definition at line 324 of file debug-interface.h.

Here is the caller graph for this function:

◆ ScriptCompiled()

virtual void v8::debug::DebugDelegate::ScriptCompiled ( v8::Local< Script > script,
bool is_live_edited,
bool has_compile_error )
inlinevirtual

Reimplemented in v8::internal::wasm::gdb_server::GdbServer::DebugDelegate, and v8_inspector::V8Debugger.

Definition at line 302 of file debug-interface.h.

Here is the caller graph for this function:

◆ ShouldBeSkipped()

virtual bool v8::debug::DebugDelegate::ShouldBeSkipped ( v8::Local< v8::debug::Script > script,
int line,
int column )
inlinevirtual

Reimplemented in v8_inspector::V8Debugger.

Definition at line 329 of file debug-interface.h.

Here is the caller graph for this function:

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