v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::gdb_server::GdbServer::DebugDelegate Class Reference
Inheritance diagram for v8::internal::wasm::gdb_server::GdbServer::DebugDelegate:
Collaboration diagram for v8::internal::wasm::gdb_server::GdbServer::DebugDelegate:

Public Member Functions

 DebugDelegate (Isolate *isolate, GdbServer *gdb_server)
 
 ~DebugDelegate ()
 
void ScriptCompiled (Local< debug::Script > script, bool is_live_edited, bool has_compile_error) override
 
void BreakProgramRequested (Local< v8::Context > paused_context, const std::vector< debug::BreakpointId > &inspector_break_points_hit, v8::debug::BreakReasons break_reasons) override
 
void ExceptionThrown (Local< v8::Context > paused_context, Local< Value > exception, Local< Value > promise, bool is_uncaught, debug::ExceptionType exception_type) override
 
bool IsFunctionBlackboxed (Local< debug::Script > script, const debug::Location &start, const debug::Location &end) override
 
- Public Member Functions inherited from v8::debug::DebugDelegate
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 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)
 

Private Member Functions

uint32_t GetModuleId (uint32_t script_id) const
 

Private Attributes

Isolateisolate_
 
uint32_t id_
 
GdbServergdb_server_
 

Static Private Attributes

static std::atomic< uint32_t > id_s
 

Additional Inherited Members

- Public Types inherited from v8::debug::DebugDelegate
enum class  ActionAfterInstrumentation { kPause , kPauseIfBreakpointsHit , kContinue }
 

Detailed Description

Definition at line 145 of file gdb-server.h.

Constructor & Destructor Documentation

◆ DebugDelegate()

v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::DebugDelegate ( Isolate * isolate,
GdbServer * gdb_server )

Definition at line 391 of file gdb-server.cc.

Here is the call graph for this function:

◆ ~DebugDelegate()

v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::~DebugDelegate ( )
virtual

Reimplemented from v8::debug::DebugDelegate.

Definition at line 403 of file gdb-server.cc.

Member Function Documentation

◆ BreakProgramRequested()

void v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::BreakProgramRequested ( Local< v8::Context > paused_context,
const std::vector< debug::BreakpointId > & inspector_break_points_hit,
v8::debug::BreakReasons break_reasons )
override

Definition at line 419 of file gdb-server.cc.

Here is the call graph for this function:

◆ ExceptionThrown()

void v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::ExceptionThrown ( Local< v8::Context > paused_context,
Local< Value > exception,
Local< Value > promise,
bool is_uncaught,
debug::ExceptionType exception_type )
overridevirtual

Reimplemented from v8::debug::DebugDelegate.

Definition at line 429 of file gdb-server.cc.

Here is the call graph for this function:

◆ GetModuleId()

uint32_t v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::GetModuleId ( uint32_t script_id) const
inlineprivate

Definition at line 171 of file gdb-server.h.

◆ IsFunctionBlackboxed()

bool v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::IsFunctionBlackboxed ( Local< debug::Script > script,
const debug::Location & start,
const debug::Location & end )
overridevirtual

Reimplemented from v8::debug::DebugDelegate.

Definition at line 441 of file gdb-server.cc.

◆ ScriptCompiled()

void v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::ScriptCompiled ( Local< debug::Script > script,
bool is_live_edited,
bool has_compile_error )
overridevirtual

Reimplemented from v8::debug::DebugDelegate.

Definition at line 408 of file gdb-server.cc.

Member Data Documentation

◆ gdb_server_

GdbServer* v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::gdb_server_
private

Definition at line 179 of file gdb-server.h.

◆ id_

uint32_t v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::id_
private

Definition at line 178 of file gdb-server.h.

◆ id_s

std::atomic< uint32_t > v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::id_s
staticprivate

Definition at line 181 of file gdb-server.h.

◆ isolate_

Isolate* v8::internal::wasm::gdb_server::GdbServer::DebugDelegate::isolate_
private

Definition at line 177 of file gdb-server.h.


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