Lines Matching refs:debug

40 class MatchPrototypePredicate : public v8::debug::QueryObjectPredicate {
50 if (!v8::debug::GetCreationContext(object).ToLocal(&objectContext)) {
82 m_pauseOnExceptionsState(v8::debug::NoBreakOnException) {}
94 v8::debug::SetDebugDelegate(m_isolate, this);
96 v8::debug::ChangeBreakOnException(m_isolate, v8::debug::NoBreakOnException);
97 m_pauseOnExceptionsState = v8::debug::NoBreakOnException;
99 v8::debug::TierDownAllModulesPerIsolate(m_isolate);
124 v8::debug::TierUpAllModulesPerIsolate(m_isolate);
126 v8::debug::SetDebugDelegate(m_isolate, nullptr);
142 v8::PersistentValueVector<v8::debug::Script> scripts(m_isolate);
143 v8::debug::GetLoadedScripts(m_isolate, scripts);
145 v8::Local<v8::debug::Script> script = scripts.Get(i);
163 v8::debug::SetBreakPointsActive(m_isolate, m_breakpointsActiveCount);
166 v8::debug::ExceptionBreakState V8Debugger::getPauseOnExceptionsState() {
172 v8::debug::ExceptionBreakState pauseOnExceptionsState) {
175 v8::debug::ChangeBreakOnException(m_isolate, pauseOnExceptionsState);
191 v8::debug::SetBreakOnNextFunctionCall(m_isolate);
196 v8::debug::ClearBreakOnNextFunctionCall(m_isolate);
202 return v8::debug::CanBreakProgram(m_isolate);
211 v8::debug::BreakRightNow(m_isolate);
221 v8::debug::BreakRightNow(
223 v8::debug::BreakReasons({v8::debug::BreakReason::kScheduled}));
233 v8::debug::SetTerminateOnResume(m_isolate);
241 if (m_pauseOnExceptionsState == v8::debug::NoBreakOnException) return;
247 v8::debug::BreakRightNow(
248 m_isolate, v8::debug::BreakReasons({v8::debug::BreakReason::kAssert}));
257 v8::debug::PrepareStep(m_isolate, v8::debug::StepInto);
265 v8::debug::PrepareStep(m_isolate, v8::debug::StepOver);
273 v8::debug::PrepareStep(m_isolate, v8::debug::StepOut);
307 static_cast<V8InspectorImpl*>(v8::debug::GetInspector(isolate));
324 v8::debug::Location v8Location(location->getLineNumber(),
360 v8::debug::RemoveBreakpoint(m_isolate, m_continueToLocationBreakpointId);
368 const std::vector<v8::debug::BreakpointId>& breakpointIds,
369 v8::debug::BreakReasons breakReasons,
370 v8::debug::ExceptionType exceptionType, bool isUncaught) {
376 v8::debug::PrepareStep(m_isolate, v8::debug::StepOut);
385 breakReasons.Add(v8::debug::BreakReason::kAsyncStep);
387 breakReasons.Add(v8::debug::BreakReason::kAgent);
398 breakReasons.contains(v8::debug::BreakReason::kOOM));
471 v8::debug::BreakRightNow(
472 isolate, v8::debug::BreakReasons({v8::debug::BreakReason::kOOM}));
478 void V8Debugger::ScriptCompiled(v8::Local<v8::debug::Script> script,
503 v8::debug::BreakpointId instrumentationId) {
539 const std::vector<v8::debug::BreakpointId>& break_points_hit,
540 v8::debug::BreakReasons reasons) {
548 v8::debug::ExceptionType exceptionType) {
549 std::vector<v8::debug::BreakpointId> break_points_hit;
552 v8::debug::BreakReasons({v8::debug::BreakReason::kException}),
556 bool V8Debugger::IsFunctionBlackboxed(v8::Local<v8::debug::Script> script,
557 const v8::debug::Location& start,
558 const v8::debug::Location& end) {
576 bool V8Debugger::ShouldBeSkipped(v8::Local<v8::debug::Script> script, int line,
597 void V8Debugger::AsyncEventOccurred(v8::debug::DebugAsyncActionType type,
603 case v8::debug::kDebugPromiseThen:
607 case v8::debug::kDebugPromiseCatch:
611 case v8::debug::kDebugPromiseFinally:
615 case v8::debug::kDebugWillHandle:
619 case v8::debug::kDebugDidHandle:
623 case v8::debug::kDebugAwait: {
643 std::unique_ptr<v8::debug::ScopeIterator> iterator;
646 iterator = v8::debug::ScopeIterator::CreateForFunction(
650 v8::Local<v8::debug::GeneratorObject> generatorObject =
651 v8::debug::GeneratorObject::Cast(value);
654 iterator = v8::debug::ScopeIterator::CreateForGeneratorObject(
673 case v8::debug::ScopeIterator::ScopeTypeGlobal:
676 case v8::debug::ScopeIterator::ScopeTypeLocal:
679 case v8::debug::ScopeIterator::ScopeTypeWith:
682 case v8::debug::ScopeIterator::ScopeTypeClosure:
685 case v8::debug::ScopeIterator::ScopeTypeCatch:
688 case v8::debug::ScopeIterator::ScopeTypeBlock:
691 case v8::debug::ScopeIterator::ScopeTypeScript:
694 case v8::debug::ScopeIterator::ScopeTypeEval:
697 case v8::debug::ScopeIterator::ScopeTypeModule:
700 case v8::debug::ScopeIterator::ScopeTypeWasmExpressionStack:
769 if (!v8::debug::GetInternalProperties(m_isolate, value).ToLocal(&properties))
802 v8::debug::QueryObjects(context, &predicate, &v8Objects);
839 v8::debug::SetAsyncEventDelegate(m_isolate,
910 v8::debug::ClearStepping(m_isolate); // Cancel step into.
933 v8::debug::SetBreakOnNextFunctionCall(m_isolate);
946 v8::debug::ClearBreakOnNextFunctionCall(m_isolate);
1032 v8::debug::ClearStepping(m_isolate); // Cancel step into.
1043 v8::debug::SetBreakOnNextFunctionCall(m_isolate);
1051 v8::debug::ClearBreakOnNextFunctionCall(m_isolate);