V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Debug Class Reference

Classes

class  TemporaryObjectsTracker
 

Public Types

enum  AccessorKind { kNotAccessor, kGetter, kSetter }
 

Public Member Functions

void OnDebugBreak (Handle< FixedArray > break_points_hit)
 
void OnThrow (Handle< Object > exception)
 
void OnPromiseReject (Handle< Object > promise, Handle< Object > value)
 
void OnCompileError (Handle< Script > script)
 
void OnAfterCompile (Handle< Script > script)
 
void HandleDebugBreak (IgnoreBreakMode ignore_break_mode)
 
void Break (JavaScriptFrame *frame, Handle< JSFunction > break_target)
 
Handle< FixedArrayGetLoadedScripts ()
 
bool SetBreakPoint (Handle< JSFunction > function, Handle< BreakPoint > break_point, int *source_position)
 
void ClearBreakPoint (Handle< BreakPoint > break_point)
 
void ChangeBreakOnException (ExceptionBreakType type, bool enable)
 
bool IsBreakOnException (ExceptionBreakType type)
 
bool SetBreakPointForScript (Handle< Script > script, Handle< String > condition, int *source_position, int *id)
 
bool SetBreakpointForFunction (Handle< JSFunction > function, Handle< String > condition, int *id)
 
void RemoveBreakpoint (int id)
 
MaybeHandle< FixedArrayGetHitBreakPoints (Handle< DebugInfo > debug_info, int position)
 
void PrepareStep (StepAction step_action)
 
void PrepareStepIn (Handle< JSFunction > function)
 
void PrepareStepInSuspendedGenerator ()
 
void PrepareStepOnThrow ()
 
void ClearStepping ()
 
void SetBreakOnNextFunctionCall ()
 
void ClearBreakOnNextFunctionCall ()
 
void DeoptimizeFunction (Handle< SharedFunctionInfo > shared)
 
void PrepareFunctionForDebugExecution (Handle< SharedFunctionInfo > shared)
 
void InstallDebugBreakTrampoline ()
 
bool GetPossibleBreakpoints (Handle< Script > script, int start_position, int end_position, bool restrict_to_function, std::vector< BreakLocation > *locations)
 
bool IsBlackboxed (Handle< SharedFunctionInfo > shared)
 
bool CanBreakAtEntry (Handle< SharedFunctionInfo > shared)
 
void SetDebugDelegate (debug::DebugDelegate *delegate)
 
bool EnsureBreakInfo (Handle< SharedFunctionInfo > shared)
 
void CreateBreakInfo (Handle< SharedFunctionInfo > shared)
 
Handle< DebugInfoGetOrCreateDebugInfo (Handle< SharedFunctionInfo > shared)
 
void InstallCoverageInfo (Handle< SharedFunctionInfo > shared, Handle< CoverageInfo > coverage_info)
 
void RemoveAllCoverageInfos ()
 
Handle< ObjectFindSharedFunctionInfoInScript (Handle< Script > script, int position)
 
bool IsBreakAtReturn (JavaScriptFrame *frame)
 
void ScheduleFrameRestart (StackFrame *frame)
 
bool AllFramesOnStackAreBlackboxed ()
 
bool SetScriptSource (Handle< Script > script, Handle< String > source, bool preview, debug::LiveEditResult *result)
 
int GetFunctionDebuggingId (Handle< JSFunction > function)
 
charArchiveDebug (char *to)
 
charRestoreDebug (char *from)
 
void FreeThreadResources ()
 
void Iterate (RootVisitor *v)
 
void InitThread (const ExecutionAccess &lock)
 
bool CheckExecutionState ()
 
void StartSideEffectCheckMode ()
 
void StopSideEffectCheckMode ()
 
void ApplySideEffectChecks (Handle< DebugInfo > debug_info)
 
void ClearSideEffectChecks (Handle< DebugInfo > debug_info)
 
bool PerformSideEffectCheck (Handle< JSFunction > function, Handle< Object > receiver)
 
bool PerformSideEffectCheckForCallback (Handle< Object > callback_info, Handle< Object > receiver, AccessorKind accessor_kind)
 
bool PerformSideEffectCheckAtBytecode (InterpretedFrame *frame)
 
bool PerformSideEffectCheckForObject (Handle< 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
 
StackFrame::Id break_frame_id ()
 
Handle< Objectreturn_value_handle ()
 
Objectreturn_value ()
 
void set_return_value (Object *value)
 
Address is_active_address ()
 
Address hook_on_function_call_address ()
 
Address suspended_generator_address ()
 
Address restart_fp_address ()
 
bool will_restart () const
 
StepAction last_step_action ()
 
bool break_on_next_function_call () const
 
DebugFeatureTrackerfeature_tracker ()
 
void RemoveBreakInfoAndMaybeFree (Handle< DebugInfo > debug_info)
 

Static Public Member Functions

static Handle< ObjectGetSourceBreakLocations (Isolate *isolate, Handle< SharedFunctionInfo > shared)
 
static int ArchiveSpacePerThread ()
 

Static Public Attributes

static const int kBreakAtEntryPosition = 0
 

Friends

class Isolate
 
class DebugScope
 
class DisableBreak
 
class LiveEdit
 
class SuppressDebug
 
Handle< FixedArrayGetDebuggedFunctions ()
 
void CheckDebuggerUnloaded ()
 

Detailed Description

Definition at line 217 of file debug.h.


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