#include "src/objects/debug-objects.h"
#include "src/base/platform/mutex.h"
#include "src/debug/debug-evaluate.h"
#include "src/handles/handles-inl.h"
#include "src/objects/call-site-info-inl.h"
#include "src/objects/debug-objects-inl.h"
#include "src/utils/ostreams.h"
namespace v8 {
namespace internal {
bool DebugInfo::IsEmpty() const { … }
bool DebugInfo::HasBreakInfo() const { … }
DebugInfo::ExecutionMode DebugInfo::DebugExecutionMode() const { … }
void DebugInfo::SetDebugExecutionMode(ExecutionMode value) { … }
void DebugInfo::ClearBreakInfo(Isolate* isolate) { … }
void DebugInfo::SetBreakAtEntry() { … }
void DebugInfo::ClearBreakAtEntry() { … }
bool DebugInfo::BreakAtEntry() const { … }
bool DebugInfo::CanBreakAtEntry() const { … }
bool DebugInfo::HasBreakPoint(Isolate* isolate, int source_position) { … }
Tagged<Object> DebugInfo::GetBreakPointInfo(Isolate* isolate,
int source_position) { … }
bool DebugInfo::ClearBreakPoint(Isolate* isolate,
DirectHandle<DebugInfo> debug_info,
DirectHandle<BreakPoint> break_point) { … }
void DebugInfo::SetBreakPoint(Isolate* isolate,
DirectHandle<DebugInfo> debug_info,
int source_position,
DirectHandle<BreakPoint> break_point) { … }
Handle<Object> DebugInfo::GetBreakPoints(Isolate* isolate,
int source_position) { … }
int DebugInfo::GetBreakPointCount(Isolate* isolate) { … }
Handle<Object> DebugInfo::FindBreakPointInfo(
Isolate* isolate, DirectHandle<DebugInfo> debug_info,
DirectHandle<BreakPoint> break_point) { … }
bool DebugInfo::HasCoverageInfo() const { … }
void DebugInfo::ClearCoverageInfo(Isolate* isolate) { … }
DebugInfo::SideEffectState DebugInfo::GetSideEffectState(Isolate* isolate) { … }
namespace {
bool IsEqual(Tagged<BreakPoint> break_point1, Tagged<BreakPoint> break_point2) { … }
}
void BreakPointInfo::ClearBreakPoint(
Isolate* isolate, DirectHandle<BreakPointInfo> break_point_info,
DirectHandle<BreakPoint> break_point) { … }
void BreakPointInfo::SetBreakPoint(
Isolate* isolate, DirectHandle<BreakPointInfo> break_point_info,
DirectHandle<BreakPoint> break_point) { … }
bool BreakPointInfo::HasBreakPoint(
Isolate* isolate, DirectHandle<BreakPointInfo> break_point_info,
DirectHandle<BreakPoint> break_point) { … }
MaybeHandle<BreakPoint> BreakPointInfo::GetBreakPointById(
Isolate* isolate, DirectHandle<BreakPointInfo> break_point_info,
int breakpoint_id) { … }
int BreakPointInfo::GetBreakPointCount(Isolate* isolate) { … }
void CoverageInfo::InitializeSlot(int slot_index, int from_pos, int to_pos) { … }
void CoverageInfo::ResetBlockCount(int slot_index) { … }
void CoverageInfo::CoverageInfoPrint(std::ostream& os,
std::unique_ptr<char[]> function_name) { … }
int StackFrameInfo::GetSourcePosition(DirectHandle<StackFrameInfo> info) { … }
void ErrorStackData::EnsureStackFrameInfos(
Isolate* isolate, DirectHandle<ErrorStackData> error_stack) { … }
}
}