|
| | V8Debugger (v8::Isolate *, V8InspectorImpl *) |
| |
| | ~V8Debugger () override |
| |
| | V8Debugger (const V8Debugger &)=delete |
| |
| V8Debugger & | operator= (const V8Debugger &)=delete |
| |
| bool | enabled () const |
| |
| v8::Isolate * | isolate () const |
| |
| void | setBreakpointsActive (bool) |
| |
| void | removeBreakpoint (v8::debug::BreakpointId id) |
| |
| v8::debug::ExceptionBreakState | getPauseOnExceptionsState () |
| |
| void | setPauseOnExceptionsState (v8::debug::ExceptionBreakState) |
| |
| bool | canBreakProgram () |
| |
| bool | isInInstrumentationPause () const |
| |
| void | breakProgram (int targetContextGroupId) |
| |
| void | interruptAndBreak (int targetContextGroupId) |
| |
| void | requestPauseAfterInstrumentation () |
| |
| void | continueProgram (int targetContextGroupId, bool terminateOnResume=false) |
| |
| void | breakProgramOnAssert (int targetContextGroupId) |
| |
| void | setPauseOnNextCall (bool, int targetContextGroupId) |
| |
| void | stepIntoStatement (int targetContextGroupId, bool breakOnAsyncCall) |
| |
| void | stepOverStatement (int targetContextGroupId) |
| |
| void | stepOutOfFunction (int targetContextGroupId) |
| |
| void | terminateExecution (v8::Local< v8::Context > context, std::unique_ptr< TerminateExecutionCallback > callback) |
| |
| Response | continueToLocation (int targetContextGroupId, V8DebuggerScript *script, std::unique_ptr< protocol::Debugger::Location >, const String16 &targetCallFramess) |
| |
| bool | restartFrame (int targetContextGroupId, int callFrameOrdinal) |
| |
| std::vector< std::unique_ptr< V8DebuggerScript > > | getCompiledScripts (int contextGroupId, V8DebuggerAgentImpl *agent) |
| |
| void | enable () |
| |
| void | disable () |
| |
| bool | isPaused () const |
| |
| bool | isPausedInContextGroup (int contextGroupId) const |
| |
| int | maxAsyncCallChainDepth () |
| |
| void | setAsyncCallStackDepth (V8DebuggerAgentImpl *, int) |
| |
| int | maxCallStackSizeToCapture () const |
| |
| void | setMaxCallStackSizeToCapture (V8RuntimeAgentImpl *, int) |
| |
| std::shared_ptr< AsyncStackTrace > | currentAsyncParent () |
| |
| V8StackTraceId | currentExternalParent () |
| |
| std::shared_ptr< StackFrame > | symbolize (v8::Local< v8::StackFrame > v8Frame) |
| |
| std::unique_ptr< V8StackTraceImpl > | createStackTrace (v8::Local< v8::StackTrace >) |
| |
| std::unique_ptr< V8StackTraceImpl > | captureStackTrace (bool fullStack) |
| |
| v8::MaybeLocal< v8::Array > | internalProperties (v8::Local< v8::Context >, v8::Local< v8::Value >) |
| |
| v8::Local< v8::Array > | queryObjects (v8::Local< v8::Context > context, v8::Local< v8::Object > prototype) |
| |
| void | asyncTaskScheduled (const StringView &taskName, void *task, bool recurring) |
| |
| void | asyncTaskCanceled (void *task) |
| |
| void | asyncTaskStarted (void *task) |
| |
| void | asyncTaskFinished (void *task) |
| |
| void | allAsyncTasksCanceled () |
| |
| V8StackTraceId | storeCurrentStackTrace (const StringView &description) |
| |
| void | externalAsyncTaskStarted (const V8StackTraceId &parent) |
| |
| void | externalAsyncTaskFinished (const V8StackTraceId &parent) |
| |
| uintptr_t | storeStackTrace (std::shared_ptr< AsyncStackTrace > stack) |
| |
| void | muteScriptParsedEvents () |
| |
| void | unmuteScriptParsedEvents () |
| |
| V8InspectorImpl * | inspector () |
| |
| void | setMaxAsyncTaskStacksForTest (int limit) |
| |
| void | dumpAsyncTaskStacksStateForTest () |
| |
| void | asyncParentFor (int stackTraceId, std::shared_ptr< AsyncStackTrace > *asyncParent, V8StackTraceId *externalParent) const |
| |
| internal::V8DebuggerId | debuggerIdFor (int contextGroupId) |
| |
| std::shared_ptr< AsyncStackTrace > | stackTraceFor (int contextGroupId, const V8StackTraceId &id) |
| |
| void | reportTermination () |
| |
| virtual | ~DebugDelegate ()=default |
| |
| virtual void | BreakProgramRequested (v8::Local< v8::Context > paused_context, const std::vector< debug::BreakpointId > &inspector_break_points_hit, base::EnumSet< BreakReason > break_reasons={}) |
| |
| virtual | ~AsyncEventDelegate ()=default |
| |
|
| bool | addInternalObject (v8::Local< v8::Context > context, v8::Local< v8::Object > object, V8InternalValueType type) |
| |
| void | clearContinueToLocation () |
| |
| bool | shouldContinueToCurrentLocation () |
| |
| void | installTerminateExecutionCallbacks (v8::Local< v8::Context > context) |
| |
| void | handleProgramBreak (v8::Local< v8::Context > pausedContext, v8::Local< v8::Value > exception, const std::vector< v8::debug::BreakpointId > &hitBreakpoints, v8::debug::BreakReasons break_reasons, v8::debug::ExceptionType exception_type=v8::debug::kException, bool isUncaught=false) |
| |
| v8::MaybeLocal< v8::Value > | getTargetScopes (v8::Local< v8::Context >, v8::Local< v8::Value >, ScopeTargetKind) |
| |
| v8::MaybeLocal< v8::Value > | functionScopes (v8::Local< v8::Context >, v8::Local< v8::Function >) |
| |
| v8::MaybeLocal< v8::Value > | generatorScopes (v8::Local< v8::Context >, v8::Local< v8::Value >) |
| |
| v8::MaybeLocal< v8::Array > | collectionsEntries (v8::Local< v8::Context > context, v8::Local< v8::Value > value) |
| |
| v8::MaybeLocal< v8::Array > | privateMethods (v8::Local< v8::Context > context, v8::Local< v8::Value > value) |
| |
| void | asyncTaskScheduledForStack (const StringView &taskName, void *task, bool recurring, bool skipTopFrame=false) |
| |
| void | asyncTaskCanceledForStack (void *task) |
| |
| void | asyncTaskStartedForStack (void *task) |
| |
| void | asyncTaskFinishedForStack (void *task) |
| |
| void | asyncTaskCandidateForStepping (void *task) |
| |
| void | asyncTaskStartedForStepping (void *task) |
| |
| void | asyncTaskFinishedForStepping (void *task) |
| |
| void | asyncTaskCanceledForStepping (void *task) |
| |
| void | asyncStackTraceCaptured (int id) |
| |
| void | AsyncEventOccurred (v8::debug::DebugAsyncActionType type, int id, bool isBlackboxed) override |
| |
| void | ScriptCompiled (v8::Local< v8::debug::Script > script, bool is_live_edited, bool has_compile_error) override |
| |
| void | BreakProgramRequested (v8::Local< v8::Context > paused_context, const std::vector< v8::debug::BreakpointId > &break_points_hit, v8::debug::BreakReasons break_reasons) override |
| |
| ActionAfterInstrumentation | BreakOnInstrumentation (v8::Local< v8::Context > paused_context, v8::debug::BreakpointId) override |
| |
| void | ExceptionThrown (v8::Local< v8::Context > paused_context, v8::Local< v8::Value > exception, v8::Local< v8::Value > promise, bool is_uncaught, v8::debug::ExceptionType exception_type) override |
| |
| bool | IsFunctionBlackboxed (v8::Local< v8::debug::Script > script, const v8::debug::Location &start, const v8::debug::Location &end) override |
| |
| bool | ShouldBeSkipped (v8::Local< v8::debug::Script > script, int line, int column) override |
| |
| void | BreakpointConditionEvaluated (v8::Local< v8::Context > context, v8::debug::BreakpointId breakpoint_id, bool exception_thrown, v8::Local< v8::Value > exception) override |
| |
| int | currentContextGroupId () |
| |
| bool | hasScheduledBreakOnNextFunctionCall () const |
| |
| void | quitMessageLoopIfAgentsFinishedInstrumentation () |
| |
| void | collectOldAsyncStacksIfNeeded () |
| |
Definition at line 51 of file v8-debugger.h.