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

#include <debug-objects.h>

Inheritance diagram for v8::internal::DebugInfo:
Collaboration diagram for v8::internal::DebugInfo:

Classes

class  BodyDescriptor
 

Public Types

enum  ExecutionMode : uint8_t { kBreakpoints = 0 , kSideEffects = kDebugExecutionMode }
 
enum  SideEffectState { kNotComputed = 0 , kHasSideEffects = 1 , kRequiresRuntimeChecks = 2 , kHasNoSideEffect = 3 }
 

Public Member Functions

NEVER_READ_ONLY_SPACE bool IsEmpty () const
 
ExecutionMode DebugExecutionMode () const
 
void SetDebugExecutionMode (ExecutionMode value)
 
bool HasInstrumentedBytecodeArray ()
 
Tagged< BytecodeArrayOriginalBytecodeArray (Isolate *isolate)
 
Tagged< BytecodeArrayDebugBytecodeArray (Isolate *isolate)
 
bool HasBreakInfo () const
 
V8_EXPORT_PRIVATE void ClearBreakInfo (Isolate *isolate)
 
void SetBreakAtEntry ()
 
void ClearBreakAtEntry ()
 
bool BreakAtEntry () const
 
bool HasBreakPoint (Isolate *isolate, int source_position)
 
DirectHandle< ObjectGetBreakPoints (Isolate *isolate, int source_position)
 
int GetBreakPointCount (Isolate *isolate)
 
bool CanBreakAtEntry () const
 
SideEffectState GetSideEffectState (Isolate *isolate)
 
bool HasCoverageInfo () const
 
void ClearCoverageInfo (Isolate *isolate)
 

Static Public Member Functions

static bool ClearBreakPoint (Isolate *isolate, DirectHandle< DebugInfo > debug_info, DirectHandle< BreakPoint > break_point)
 
static void SetBreakPoint (Isolate *isolate, DirectHandle< DebugInfo > debug_info, int source_position, DirectHandle< BreakPoint > break_point)
 
static DirectHandle< ObjectFindBreakPointInfo (Isolate *isolate, DirectHandle< DebugInfo > debug_info, DirectHandle< BreakPoint > break_point)
 

Static Public Attributes

static const int kNoDebuggingId = 0
 
static const int kEstimatedNofBreakPointsInFunction = 4
 

Private Member Functions

Tagged< ObjectGetBreakPointInfo (Isolate *isolate, int source_position)
 

Detailed Description

Definition at line 30 of file debug-objects.h.

Member Enumeration Documentation

◆ ExecutionMode

Enumerator
kBreakpoints 
kSideEffects 

Definition at line 41 of file debug-objects.h.

◆ SideEffectState

Enumerator
kNotComputed 
kHasSideEffects 
kRequiresRuntimeChecks 
kHasNoSideEffect 

Definition at line 113 of file debug-objects.h.

Member Function Documentation

◆ BreakAtEntry()

bool v8::internal::DebugInfo::BreakAtEntry ( ) const

Definition at line 72 of file debug-objects.cc.

◆ CanBreakAtEntry()

bool v8::internal::DebugInfo::CanBreakAtEntry ( ) const

Definition at line 76 of file debug-objects.cc.

Here is the caller graph for this function:

◆ ClearBreakAtEntry()

void v8::internal::DebugInfo::ClearBreakAtEntry ( )

Definition at line 67 of file debug-objects.cc.

Here is the call graph for this function:

◆ ClearBreakInfo()

void v8::internal::DebugInfo::ClearBreakInfo ( Isolate * isolate)

Definition at line 37 of file debug-objects.cc.

Here is the call graph for this function:

◆ ClearBreakPoint()

bool v8::internal::DebugInfo::ClearBreakPoint ( Isolate * isolate,
DirectHandle< DebugInfo > debug_info,
DirectHandle< BreakPoint > break_point )
static

Definition at line 109 of file debug-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ClearCoverageInfo()

void v8::internal::DebugInfo::ClearCoverageInfo ( Isolate * isolate)

Definition at line 219 of file debug-objects.cc.

Here is the call graph for this function:

◆ DebugBytecodeArray()

Tagged< BytecodeArray > v8::internal::DebugInfo::DebugBytecodeArray ( Isolate * isolate)
inline

Definition at line 54 of file debug-objects-inl.h.

Here is the call graph for this function:

◆ DebugExecutionMode()

DebugInfo::ExecutionMode v8::internal::DebugInfo::DebugExecutionMode ( ) const

Definition at line 25 of file debug-objects.cc.

◆ FindBreakPointInfo()

DirectHandle< Object > v8::internal::DebugInfo::FindBreakPointInfo ( Isolate * isolate,
DirectHandle< DebugInfo > debug_info,
DirectHandle< BreakPoint > break_point )
static

Definition at line 198 of file debug-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetBreakPointCount()

int v8::internal::DebugInfo::GetBreakPointCount ( Isolate * isolate)

Definition at line 185 of file debug-objects.cc.

Here is the call graph for this function:

◆ GetBreakPointInfo()

Tagged< Object > v8::internal::DebugInfo::GetBreakPointInfo ( Isolate * isolate,
int source_position )
private

Definition at line 94 of file debug-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetBreakPoints()

DirectHandle< Object > v8::internal::DebugInfo::GetBreakPoints ( Isolate * isolate,
int source_position )

Definition at line 173 of file debug-objects.cc.

Here is the call graph for this function:

◆ GetSideEffectState()

DebugInfo::SideEffectState v8::internal::DebugInfo::GetSideEffectState ( Isolate * isolate)

Definition at line 228 of file debug-objects.cc.

Here is the call graph for this function:

◆ HasBreakInfo()

bool v8::internal::DebugInfo::HasBreakInfo ( ) const

Definition at line 21 of file debug-objects.cc.

Here is the caller graph for this function:

◆ HasBreakPoint()

bool v8::internal::DebugInfo::HasBreakPoint ( Isolate * isolate,
int source_position )

Definition at line 81 of file debug-objects.cc.

Here is the call graph for this function:

◆ HasCoverageInfo()

bool v8::internal::DebugInfo::HasCoverageInfo ( ) const

Definition at line 215 of file debug-objects.cc.

Here is the caller graph for this function:

◆ HasInstrumentedBytecodeArray()

DebugInfo::DebugIsBlackboxedBit DebugInfo::DebuggingIdBits bool v8::internal::DebugInfo::HasInstrumentedBytecodeArray ( )
inline

Definition at line 45 of file debug-objects-inl.h.

Here is the caller graph for this function:

◆ IsEmpty()

bool v8::internal::DebugInfo::IsEmpty ( ) const

Definition at line 17 of file debug-objects.cc.

◆ OriginalBytecodeArray()

Tagged< BytecodeArray > v8::internal::DebugInfo::OriginalBytecodeArray ( Isolate * isolate)
inline

Definition at line 49 of file debug-objects-inl.h.

Here is the call graph for this function:

◆ SetBreakAtEntry()

void v8::internal::DebugInfo::SetBreakAtEntry ( )

Definition at line 62 of file debug-objects.cc.

Here is the call graph for this function:

◆ SetBreakPoint()

void v8::internal::DebugInfo::SetBreakPoint ( Isolate * isolate,
DirectHandle< DebugInfo > debug_info,
int source_position,
DirectHandle< BreakPoint > break_point )
static

Definition at line 125 of file debug-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetDebugExecutionMode()

void v8::internal::DebugInfo::SetDebugExecutionMode ( ExecutionMode value)

Definition at line 30 of file debug-objects.cc.

Member Data Documentation

◆ kEstimatedNofBreakPointsInFunction

const int v8::internal::DebugInfo::kEstimatedNofBreakPointsInFunction = 4
static

Definition at line 139 of file debug-objects.h.

◆ kNoDebuggingId

const int v8::internal::DebugInfo::kNoDebuggingId = 0
static

Definition at line 129 of file debug-objects.h.


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