|
| Debug (const Debug &)=delete |
|
Debug & | operator= (const Debug &)=delete |
|
void | OnDebugBreak (DirectHandle< FixedArray > break_points_hit, StepAction stepAction, debug::BreakReasons break_reasons={}) |
|
debug::DebugDelegate::ActionAfterInstrumentation | OnInstrumentationBreak () |
|
std::optional< Tagged< Object > > | OnThrow (DirectHandle< Object > exception) V8_WARN_UNUSED_RESULT |
|
void | OnPromiseReject (DirectHandle< Object > promise, DirectHandle< Object > value) |
|
void | OnCompileError (DirectHandle< Script > script) |
|
void | OnAfterCompile (DirectHandle< Script > script) |
|
void | HandleDebugBreak (IgnoreBreakMode ignore_break_mode, debug::BreakReasons break_reasons) |
|
void | Break (JavaScriptFrame *frame, DirectHandle< JSFunction > break_target) |
|
DirectHandle< FixedArray > | GetLoadedScripts () |
|
std::optional< Tagged< DebugInfo > > | TryGetDebugInfo (Tagged< SharedFunctionInfo > sfi) |
|
bool | HasDebugInfo (Tagged< SharedFunctionInfo > sfi) |
|
bool | HasCoverageInfo (Tagged< SharedFunctionInfo > sfi) |
|
bool | HasBreakInfo (Tagged< SharedFunctionInfo > sfi) |
|
bool | BreakAtEntry (Tagged< SharedFunctionInfo > sfi) |
|
bool | SetBreakpoint (Handle< SharedFunctionInfo > shared, DirectHandle< BreakPoint > break_point, int *source_position) |
|
void | ClearBreakPoint (DirectHandle< BreakPoint > break_point) |
|
void | ChangeBreakOnException (ExceptionBreakType type, bool enable) |
|
bool | IsBreakOnException (ExceptionBreakType type) |
|
void | SetTerminateOnResume () |
|
bool | SetBreakPointForScript (Handle< Script > script, DirectHandle< String > condition, int *source_position, int *id) |
|
bool | SetBreakpointForFunction (Handle< SharedFunctionInfo > shared, DirectHandle< String > condition, int *id, BreakPointKind kind=kRegular) |
|
void | RemoveBreakpoint (int id) |
|
MaybeHandle< FixedArray > | GetHitBreakPoints (DirectHandle< DebugInfo > debug_info, int position, bool *has_break_points) |
|
void | PrepareStep (StepAction step_action) |
|
void | PrepareStepIn (DirectHandle< JSFunction > function) |
|
void | PrepareStepInSuspendedGenerator () |
|
void | PrepareStepOnThrow () |
|
void | ClearStepping () |
|
void | PrepareRestartFrame (JavaScriptFrame *frame, int inlined_frame_index) |
|
void | SetBreakOnNextFunctionCall () |
|
void | ClearBreakOnNextFunctionCall () |
|
void | DiscardBaselineCode (Tagged< SharedFunctionInfo > shared) |
|
void | DiscardAllBaselineCode () |
|
void | DeoptimizeFunction (DirectHandle< SharedFunctionInfo > shared) |
|
void | PrepareFunctionForDebugExecution (DirectHandle< SharedFunctionInfo > shared) |
|
void | InstallDebugBreakTrampoline () |
|
bool | GetPossibleBreakpoints (Handle< Script > script, int start_position, int end_position, bool restrict_to_function, std::vector< BreakLocation > *locations) |
|
bool | IsFunctionBlackboxed (DirectHandle< Script > script, const int start, const int end) |
|
bool | IsBlackboxed (DirectHandle< SharedFunctionInfo > shared) |
|
bool | ShouldBeSkipped () |
|
bool | CanBreakAtEntry (DirectHandle< SharedFunctionInfo > shared) |
|
void | SetDebugDelegate (debug::DebugDelegate *delegate) |
|
bool | EnsureBreakInfo (Handle< SharedFunctionInfo > shared) |
|
void | CreateBreakInfo (DirectHandle< SharedFunctionInfo > shared) |
|
Handle< DebugInfo > | GetOrCreateDebugInfo (DirectHandle< SharedFunctionInfo > shared) |
|
void | InstallCoverageInfo (DirectHandle< SharedFunctionInfo > shared, DirectHandle< CoverageInfo > coverage_info) |
|
void | RemoveAllCoverageInfos () |
|
Handle< Object > | FindInnermostContainingFunctionInfo (Handle< Script > script, int position) |
|
Handle< SharedFunctionInfo > | FindClosestSharedFunctionInfoFromPosition (int position, Handle< Script > script, Handle< SharedFunctionInfo > outer_shared) |
|
bool | FindSharedFunctionInfosIntersectingRange (Handle< Script > script, int start_position, int end_position, std::vector< Handle< SharedFunctionInfo > > *candidates) |
|
MaybeDirectHandle< SharedFunctionInfo > | GetTopLevelWithRecompile (Handle< Script > script, bool *did_compile=nullptr) |
|
bool | IsBreakAtReturn (JavaScriptFrame *frame) |
|
bool | AllFramesOnStackAreBlackboxed () |
|
bool | SetScriptSource (Handle< Script > script, Handle< String > source, bool preview, bool allow_top_frame_live_editing, debug::LiveEditResult *result) |
|
int | GetFunctionDebuggingId (DirectHandle< JSFunction > function) |
|
char * | ArchiveDebug (char *to) |
|
char * | RestoreDebug (char *from) |
|
void | FreeThreadResources () |
|
void | Iterate (RootVisitor *v) |
|
void | InitThread (const ExecutionAccess &lock) |
|
bool | CheckExecutionState () |
|
void | StartSideEffectCheckMode () |
|
void | StopSideEffectCheckMode () |
|
void | ApplySideEffectChecks (DirectHandle< DebugInfo > debug_info) |
|
void | ClearSideEffectChecks (DirectHandle< DebugInfo > debug_info) |
|
void | IgnoreSideEffectsOnNextCallTo (Handle< FunctionTemplateInfo > function) |
|
bool | PerformSideEffectCheck (DirectHandle< JSFunction > function, DirectHandle< Object > receiver) |
|
void | PrepareBuiltinForSideEffectCheck (Isolate *isolate, Builtin id) |
|
bool | PerformSideEffectCheckForAccessor (DirectHandle< AccessorInfo > accessor_info, DirectHandle< Object > receiver, AccessorComponent component) |
|
bool | PerformSideEffectCheckForCallback (Handle< FunctionTemplateInfo > function) |
|
bool | PerformSideEffectCheckForInterceptor (DirectHandle< InterceptorInfo > interceptor_info) |
|
bool | PerformSideEffectCheckAtBytecode (InterpretedFrame *frame) |
|
bool | PerformSideEffectCheckForObject (DirectHandle< Object > object) |
|
bool | is_active () const |
|
bool | in_debug_scope () const |
|
bool | needs_check_on_function_call () const |
|
void | set_break_points_active (bool v) |
|
bool | break_points_active () const |
|
StackFrameId | break_frame_id () |
|
Handle< Object > | return_value_handle () |
|
Tagged< Object > | return_value () |
|
void | set_return_value (Tagged< Object > value) |
|
Address | is_active_address () |
|
Address | hook_on_function_call_address () |
|
Address | suspended_generator_address () |
|
StepAction | last_step_action () |
|
bool | break_on_next_function_call () const |
|
bool | scheduled_break_on_function_call () const |
|
bool | IsRestartFrameScheduled () const |
|
bool | ShouldRestartFrame (StackFrameId id) const |
|
void | clear_restart_frame () |
|
int | restart_inline_frame_index () const |
|
bool | break_disabled () const |
|
void | RemoveBreakInfoAndMaybeFree (DirectHandle< DebugInfo > debug_info) |
|
void | NotifyDebuggerPausedEventSent () |
|
void | ClearMutedLocation () |
|
uint64_t | IsolateId () const |
|
void | SetIsolateId (uint64_t id) |
|
|
| Debug (Isolate *isolate) |
|
| ~Debug () |
|
void | UpdateDebugInfosForExecutionMode () |
|
void | UpdateState () |
|
void | UpdateHookOnFunctionCall () |
|
void | Unload () |
|
int | CurrentFrameCount () |
|
bool | ignore_events () const |
|
void | clear_suspended_generator () |
|
bool | has_suspended_generator () const |
|
void | OnException (DirectHandle< Object > exception, MaybeDirectHandle< JSPromise > promise, v8::debug::ExceptionType exception_type) |
|
void | ProcessCompileEvent (bool has_compile_error, DirectHandle< Script > script) |
|
int | FindBreakablePosition (Handle< DebugInfo > debug_info, int source_position) |
|
void | ApplyBreakPoints (Handle< DebugInfo > debug_info) |
|
void | ClearBreakPoints (Handle< DebugInfo > debug_info) |
|
void | ClearAllBreakPoints () |
|
void | FloodWithOneShot (Handle< SharedFunctionInfo > function, bool returns_only=false) |
|
void | ClearOneShot () |
|
void | SetMutedLocation (DirectHandle< SharedFunctionInfo > function, const BreakLocation &location) |
|
bool | IsFrameBlackboxed (JavaScriptFrame *frame) |
|
void | ActivateStepOut (StackFrame *frame) |
|
bool | IsBreakOnInstrumentation (Handle< DebugInfo > debug_info, const BreakLocation &location) |
|
bool | IsBreakOnDebuggerStatement (DirectHandle< SharedFunctionInfo > function, const BreakLocation &location) |
|
MaybeHandle< FixedArray > | CheckBreakPoints (Handle< DebugInfo > debug_info, BreakLocation *location, bool *has_break_points) |
|
MaybeDirectHandle< FixedArray > | CheckBreakPointsForLocations (Handle< DebugInfo > debug_info, std::vector< BreakLocation > &break_locations, bool *has_break_points) |
|
bool | IsMutedAtAnyBreakLocation (DirectHandle< SharedFunctionInfo > function, const std::vector< BreakLocation > &locations) |
|
bool | CheckBreakPoint (DirectHandle< BreakPoint > break_point, bool is_break_at_entry) |
|
void | AssertDebugContext () |
|
void | ThreadInit () |
|
void | PrintBreakLocation () |
|
void | ClearAllDebuggerHints () |
|
void | ClearAllDebugInfos (const DebugInfoClearFunction &clear_function) |
|
void | SetTemporaryObjectTrackingDisabled (bool disabled) |
|
bool | GetTemporaryObjectTrackingDisabled () const |
|
Definition at line 251 of file debug.h.