| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_debugger_interface.h | 53 … * \brief called by the ecmavm when breakpoint hits. Thread where breakpoint hits is stopped until 55 …* @param thread Identifier of the thread where breakpoint hits. Now the callback is called in the … 57 * @param location Breakpoint location 59 virtual void Breakpoint(const JSPtLocation &location) = 0; 110 * \brief Set breakpoint to \param location with an optional \param condition 111 * @param location Breakpoint location 118 * \brief Remove breakpoint from \param location 119 * @param location Breakpoint location 126 * @param location Breakpoint location
|
| D | js_debugger.h | 59 std::stringstream breakpoint; in ToString() local 60 breakpoint << "["; in ToString() 61 breakpoint << "methodId:" << ptMethod_->GetMethodId() << ", "; in ToString() 62 breakpoint << "bytecodeOffset:" << bcOffset_ << ", "; in ToString() 63 breakpoint << "sourceFile:" << "\""<< sourceFile_ << "\""<< ", "; in ToString() 64 … breakpoint << "jsPandaFile:" << "\"" << ptMethod_->GetJSPandaFile()->GetJSPandaFileDesc() << "\""; in ToString() 65 breakpoint << "]"; in ToString() 66 return breakpoint.str(); in ToString()
|
| D | js_debugger.cpp | 37 LOG_DEBUGGER(ERROR) << "SetBreakpoint: Invalid breakpoint location"; in SetBreakpoint() 45 LOG_DEBUGGER(WARN) << "SetBreakpoint: Breakpoint already exists"; in SetBreakpoint() 61 LOG_DEBUGGER(ERROR) << "RemoveBreakpoint: Breakpoint not found"; in RemoveBreakpoint() 79 // Step event is reported before breakpoint, according to the spec. in BytecodePcChanged() 87 auto breakpoint = FindBreakpoint(method, bcOffset); in HandleBreakpoint() local 88 if (hooks_ == nullptr || !breakpoint.has_value()) { in HandleBreakpoint() 93 auto condFuncRef = breakpoint.value().GetConditionFunction(); in HandleBreakpoint() 112 breakpoint.value().GetSourceFile()}; in HandleBreakpoint() 114 hooks_->Breakpoint(location); in HandleBreakpoint()
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/tests/ |
| D | breakpoint_test.cpp | 87 template <size_t... Breakpoint> 90 std::index_sequence<Breakpoint...> /* breakpoints */); 99 template <size_t... Breakpoint> 102 std::index_sequence<Breakpoint...> /* breakpoints */) in CheckPossibleBreakpoints() argument 126 … JsonProperty<JsonObject::NumT> {"lineNumber", Breakpoint}))}...)}); in CheckPossibleBreakpoints() 141 // When stopped at a breakpoint while doing a step and resumed, 160 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 8)), in TEST_F() 161 Breakpoint(CallFrame(main_.GetMethod(), 9)), in TEST_F() 162 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 9)), in TEST_F() 188 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 8)), in TEST_F() [all …]
|
| D | test_debugger.cpp | 63 hooks_->Breakpoint(PtThread::NONE, callStack_.Front().GetMethod(), location); in HandleBreakpoint() 69 return Error(Error::Type::BREAKPOINT_ALREADY_EXISTS, "Breakpoint already exists"); in SetBreakpoint() 78 return Error(Error::Type::BREAKPOINT_NOT_FOUND, "Breakpoint not found"); in RemoveBreakpoint()
|
| D | expect_pauses.h | 52 Pause Breakpoint(CallFrame &&... callFrame) in Breakpoint() function 54 return {"Breakpoint", {std::forward<CallFrame>(callFrame)...}}; in Breakpoint()
|
| /arkcompiler/toolchain/tooling/test/testcases/ |
| D | js_step_into_test.h | 33 // line number for breakpoint array in JsStepIntoTest() 34 size_t breakpoint[POINTER_SIZE][LINE_COLUMN] = in JsStepIntoTest() local 39 SetJSPtLocation(breakpoint[0], POINTER_SIZE, pointerLocations_); in JsStepIntoTest() 52 breakpoint = [this](const JSPtLocation &location) { in JsStepIntoTest() 56 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsStepIntoTest()
|
| D | js_step_over_test.h | 33 // 24、27: line number for breakpoint array in JsStepOverTest() 34 …size_t breakpoint[8][2] = {{24, 0}, {27, 0}, {36, 0}, {50, 0}, {60, 0}, {90, 0}, {96, 0}, {54, 0}}; in JsStepOverTest() local 37 SetJSPtLocation(breakpoint[0], POINTER_SIZE, pointerLocations_); in JsStepOverTest() 50 breakpoint = [this](const JSPtLocation &location) { in JsStepOverTest() 54 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsStepOverTest()
|
| D | js_step_out_test.h | 33 // 74、36: line number for breakpoint array in JsStepOutTest() 34 size_t breakpoint[5][2] = {{74, 0}, {36, 0}, {50, 0}, {61, 0}, {96, 0}}; in JsStepOutTest() local 37 SetJSPtLocation(breakpoint[0], POINTER_SIZE, pointerLocations_); in JsStepOutTest() 50 breakpoint = [this](const JSPtLocation &location) { in JsStepOutTest() 54 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsStepOutTest()
|
| D | js_syntax_exception_test.h | 26 breakpoint = [this](const JSPtLocation &location) { in JsSyntaxExceptionTest() 35 ASSERT_EQ(jsLocation->GetLine(), 27); // 27: breakpoint line in JsSyntaxExceptionTest() 36 ASSERT_EQ(jsLocation->GetColumn(), 0); // 0: breakpoint column in JsSyntaxExceptionTest() 37 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsSyntaxExceptionTest()
|
| D | js_exception_test.h | 26 breakpoint = [this](const JSPtLocation &location) { in JsExceptionTest() 35 ASSERT_EQ(jsLocation->GetLine(), 22); // 22: breakpoint line in JsExceptionTest() 36 ASSERT_EQ(jsLocation->GetColumn(), 0); // 0: breakpoint column in JsExceptionTest() 37 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsExceptionTest()
|
| D | js_range_error_test.h | 26 breakpoint = [this](const JSPtLocation &location) { in JsRangeErrorTest() 35 ASSERT_EQ(jsLocation->GetLine(), 20); // 22: breakpoint line in JsRangeErrorTest() 36 ASSERT_EQ(jsLocation->GetColumn(), 0); // 0: breakpoint column in JsRangeErrorTest() 37 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsRangeErrorTest()
|
| D | js_throw_exception_test.h | 26 breakpoint = [this](const JSPtLocation &location) { in JsThrowExceptionTest() 35 ASSERT_EQ(jsLocation->GetLine(), 28); // 28: breakpoint line in JsThrowExceptionTest() 36 ASSERT_EQ(jsLocation->GetColumn(), 0); // 0: breakpoint column in JsThrowExceptionTest() 37 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsThrowExceptionTest()
|
| D | js_breakpoint_arrow_test.h | 26 breakpoint = [this](const JSPtLocation &location) { in JsBreakpointArrowTest() 30 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsBreakpointArrowTest()
|
| D | js_breakpoint_async_test.h | 26 breakpoint = [this](const JSPtLocation &location) { in JsBreakpointAsyncTest() 30 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsBreakpointAsyncTest()
|
| D | js_breakpoint_test.h | 26 breakpoint = [this](const JSPtLocation &location) { in JsBreakpointTest() 30 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsBreakpointTest()
|
| /arkcompiler/runtime_core/verification/config/debug_breakpoint/ |
| D | config_handler_breakpoints.cpp | 49 struct Breakpoint; in BreakpointParser() 51 using p = parser<Context, const char, const char *>::next<Breakpoint>; in BreakpointParser() 88 …static const auto BREAKPOINT = ~WS >> METHOD_NAME >> *(~WS >> COMMA >> ~WS >> OFFSET) >> ~WS >> p:… in BreakpointParser() local 90 return BREAKPOINT; in BreakpointParser()
|
| D | breakpoint.cpp | 59 …ManagedBreakpoints.Breakpoint.Apply([&](auto &breakpoint_map) { breakpoint_map[id].insert(offset);… in InsertBreakpoints() 66 const auto &breakpoints = DebugContext::GetCurrent().ManagedBreakpoints.Breakpoint; in CheckManagedBreakpoint() 78 return DebugContext::GetCurrent().ManagedBreakpoints.Breakpoint->count(id) > 0; in ManagedBreakpointPresent()
|
| /arkcompiler/toolchain/tooling/test/utils/ |
| D | test_hooks.h | 47 void Breakpoint(const JSPtLocation &location) override in Breakpoint() function 49 if (test_->breakpoint) { in Breakpoint() 50 test_->breakpoint(location); in Breakpoint()
|
| D | test_events.h | 33 BREAKPOINT, enumerator 49 BreakpointCallback breakpoint; member
|
| /arkcompiler/runtime_core/runtime/include/tooling/ |
| D | debug_interface.h | 221 …* \brief Method is called by the runtime when breakpoint hits. Thread where breakpoint hits is sto… 223 …* @param thread Identifier of the thread where breakpoint hits. Now the callback is called in the … 226 * @param location Breakpoint location 228 …virtual void Breakpoint(PtThread /* thread */, Method * /* method */, const PtLocation & /* locati… in Breakpoint() function 356 virtual void Breakpoint(PtThread /* thread */, const PtLocation & /* location */) {} in Breakpoint() function 451 * \brief Set breakpoint to \param location 452 * @param location Breakpoint location 458 * \brief Remove breakpoint from \param location 459 * @param location Breakpoint location
|
| /arkcompiler/runtime_core/runtime/tooling/ |
| D | debugger.h | 42 class Breakpoint { 45 Breakpoint(Method *method, uint32_t bcOffset) : method_(method), bc_offset_(bcOffset) {} in Breakpoint() function 46 ~Breakpoint() = default; 58 bool operator==(const Breakpoint &bpoint) const 63 DEFAULT_COPY_SEMANTIC(Breakpoint); 64 DEFAULT_MOVE_SEMANTIC(Breakpoint); 74 size_t operator()(const Breakpoint &bpoint) const in operator()
|
| /arkcompiler/runtime_core/verification/config/context/ |
| D | context.h | 20 #include "verification/config/debug_breakpoint/breakpoint.h" 46 Synchronized<PandaUnorderedMap<Method::UniqId, PandaUnorderedSet<uint32_t>>> Breakpoint; member
|
| /arkcompiler/toolchain/tooling/backend/ |
| D | js_pt_hooks.cpp | 21 void JSPtHooks::Breakpoint(const JSPtLocation &location) in Breakpoint() function in panda::ecmascript::tooling::JSPtHooks 23 LOG_DEBUGGER(VERBOSE) << "JSPtHooks: Breakpoint => " << location.GetMethodId() << ": " in Breakpoint()
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/ |
| D | inspector_hooks.h | 46 void Breakpoint(PtThread thread, Method *method, const PtLocation &location) override in Breakpoint() function 48 … RunHooks<PtThread, Method *, const PtLocation &>(&PtHooks::Breakpoint, thread, method, location); in Breakpoint()
|