Lines Matching refs:debug

9 #include "src/debug/debug-coverage.h"
10 #include "src/debug/debug-evaluate.h"
11 #include "src/debug/debug-frames.h"
12 #include "src/debug/debug-scopes.h"
13 #include "src/debug/debug.h"
14 #include "src/debug/liveedit.h"
24 #include "src/objects/debug-objects-inl.h"
36 #include "src/debug/debug-wasm-objects.h"
55 ReturnValueScope result_scope(isolate->debug());
56 isolate->debug()->set_return_value(*value);
61 isolate->debug()->Break(it.frame(),
73 !isolate->debug()->PerformSideEffectCheckAtBytecode(interpreted_frame);
85 // interpreted stack frame to the non-debug variant so that the interpreter
94 // We need to deserialize now to ensure we don't hit the debug break again
108 return MakePair(isolate->debug()->return_value(),
121 // Get the top-most JavaScript frame. This is the debug target function.
125 // if yes, then the call to the debug target came from JavaScript. Otherwise,
126 // the call to the debug target came from API. Do not break for the latter.
130 isolate->debug()->Break(it.frame(), function);
139 if (isolate->debug()->break_points_active()) {
140 isolate->debug()->HandleDebugBreak(
142 v8::debug::BreakReasons({v8::debug::BreakReason::kDebuggerStatement}));
152 v8::debug::BreakRightNow(
154 v8::debug::BreakReasons({v8::debug::BreakReason::kScheduled}));
469 CHECK(isolate->debug()->is_active());
493 bool result = isolate->debug()->IsBreakOnException(type);
501 CHECK(isolate->debug()->is_active());
502 isolate->debug()->ClearStepping();
512 DebugScope debug_scope(isolate->debug());
514 instances = isolate->debug()->GetLoadedScripts();
691 if (isolate->debug()->needs_check_on_function_call()) {
692 // Ensure that the callee will perform debug check on function call too.
694 isolate->debug()->DeoptimizeFunction(shared);
695 if (isolate->debug()->last_step_action() >= StepInto ||
696 isolate->debug()->break_on_next_function_call()) {
698 isolate->debug()->PrepareStepIn(fun);
701 !isolate->debug()->PerformSideEffectCheck(fun, receiver)) {
712 isolate->debug()->PrepareStepInSuspendedGenerator();
804 Coverage::SelectMode(isolate, enable ? debug::CoverageMode::kPreciseCount
805 : debug::CoverageMode::kBestEffort);
812 Coverage::SelectMode(isolate, enable ? debug::CoverageMode::kBlockCount
813 : debug::CoverageMode::kBestEffort);
840 // Enable proper debug support for promises.
841 if (isolate->debug()->is_active()) {
885 v8::debug::LiveEditResult result;
888 case v8::debug::LiveEditResult::COMPILE_ERROR:
891 case v8::debug::LiveEditResult::BLOCKED_BY_RUNNING_GENERATOR:
894 case v8::debug::LiveEditResult::BLOCKED_BY_ACTIVE_FUNCTION:
897 case v8::debug::LiveEditResult::OK: