Home
last modified time | relevance | path

Searched refs:JSPtLocation (Results 1 - 25 of 33) sorted by relevance

12

/arkcompiler/toolchain/tooling/test/testcases/
H A Djs_single_step_test.h46 breakpoint = [this](const JSPtLocation &location) { in JsSingleStepTest()
58 singleStep = [this](const JSPtLocation &location) { in JsSingleStepTest()
90 JSPtLocation locationStart_ {nullptr, JSPtLocation::EntityId(0), 0};
91 JSPtLocation locationEnd_ {nullptr, JSPtLocation::EntityId(0), 0};
92 JSPtLocation locationStep_ {nullptr, JSPtLocation::EntityId(0), 0};
H A Djs_step_over_test.h51 breakpoint = [this](const JSPtLocation &location) { in JsStepOverTest()
65 singleStep = [this](const JSPtLocation &location) { in JsStepOverTest()
107 JSPtLocation location1_ {nullptr, JSPtLocation::EntityId(0), 0};
108 JSPtLocation location2_ {nullptr, JSPtLocation::EntityId(0), 0};
111 std::vector<JSPtLocation> pointerLocations_;
112 std::vector<JSPtLocation> stepLocations_;
114 void SetJSPtLocation(size_t *arr, size_t number, std::vector<JSPtLocation> &locations) in SetJSPtLocation()
117 JSPtLocation location in SetJSPtLocation()
[all...]
H A Djs_step_out_test.h51 breakpoint = [this](const JSPtLocation &location) { in JsStepOutTest()
61 singleStep = [this](const JSPtLocation &location) { in JsStepOutTest()
103 JSPtLocation location1_ {nullptr, JSPtLocation::EntityId(0), 0};
104 JSPtLocation location2_ {nullptr, JSPtLocation::EntityId(0), 0};
107 std::vector<JSPtLocation> pointerLocations_;
108 std::vector<JSPtLocation> stepLocations_;
110 void SetJSPtLocation(size_t *arr, size_t number, std::vector<JSPtLocation> &locations) in SetJSPtLocation()
113 JSPtLocation location in SetJSPtLocation()
[all...]
H A Djs_step_into_test.h53 breakpoint = [this](const JSPtLocation &location) { in JsStepIntoTest()
67 singleStep = [this](const JSPtLocation &location) { in JsStepIntoTest()
111 std::vector<JSPtLocation> pointerLocations_;
112 std::vector<JSPtLocation> stepLocations_;
114 void SetJSPtLocation(size_t *arr, size_t number, std::vector<JSPtLocation> &locations) in SetJSPtLocation()
117 JSPtLocation location = TestUtil::GetLocation(sourceFile_.c_str(), arr[i * LINE_COLUMN], in SetJSPtLocation()
H A Djs_range_error_test.h26 breakpoint = [this](const JSPtLocation &location) { in JsRangeErrorTest()
41 exception = [this](const JSPtLocation &location) { in JsRangeErrorTest()
101 JSPtLocation location_ {nullptr, JSPtLocation::EntityId(0), 0};
H A Djs_throw_exception_test.h26 breakpoint = [this](const JSPtLocation &location) { in JsThrowExceptionTest()
41 exception = [this](const JSPtLocation &location) { in JsThrowExceptionTest()
105 JSPtLocation location_ {nullptr, JSPtLocation::EntityId(0), 0};
H A Djs_syntax_exception_test.h26 breakpoint = [this](const JSPtLocation &location) { in JsSyntaxExceptionTest()
41 exception = [this](const JSPtLocation &location) { in JsSyntaxExceptionTest()
102 JSPtLocation location_ {nullptr, JSPtLocation::EntityId(0), 0};
H A Djs_dropframe_test.h28 breakpoint = [this](const JSPtLocation &location) { in JsDropFrameTest()
38 singleStep = [this](const JSPtLocation &location) { in JsDropFrameTest()
314 std::vector<JSPtLocation> pointerLocations_;
383 void SetJSPtLocation(size_t *arr, size_t number, std::vector<JSPtLocation> &locations) in SetJSPtLocation()
386 JSPtLocation location = TestUtil::GetLocation(sourceFile_.c_str(), arr[i * LINE_COLUMN], in SetJSPtLocation()
/arkcompiler/ets_runtime/ecmascript/debugger/
H A Djs_pt_location.h26 class JSPtLocation { class
30 JSPtLocation(const JSPandaFile *jsPandaFile, EntityId methodId, uint32_t bytecodeOffset, in JSPtLocation() function in panda::ecmascript::tooling::JSPtLocation
56 bool operator==(const JSPtLocation &location) const in operator ==()
74 ~JSPtLocation() = default;
76 DEFAULT_COPY_SEMANTIC(JSPtLocation);
77 DEFAULT_MOVE_SEMANTIC(JSPtLocation);
H A Djs_debugger_interface.h62 virtual void DebuggerStmt(const JSPtLocation &location) = 0;
71 virtual void Breakpoint(const JSPtLocation &location) = 0;
89 virtual void Exception(const JSPtLocation &location) = 0;
91 virtual bool SingleStep(const JSPtLocation &location) = 0;
135 virtual bool SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) = 0;
142 virtual bool RemoveBreakpoint(const JSPtLocation &location) = 0;
H A Djs_debugger.cpp24 bool JSDebugger::SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) in SetBreakpoint()
48 bool JSDebugger::SetSmartBreakpoint(const JSPtLocation &location) in SetSmartBreakpoint()
72 bool JSDebugger::RemoveBreakpoint(const JSPtLocation &location) in RemoveBreakpoint()
144 JSPtLocation smartLocation {method->GetJSPandaFile(), method->GetMethodId(), bcOffset, in HandleBreakpoint()
156 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset, in HandleBreakpoint()
179 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleDebuggerStmt()
191 JSPtLocation throwLocation {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleExceptionThrowEvent()
202 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleStep()
261 std::unique_ptr<PtMethod> JSDebugger::FindMethod(const JSPtLocation &location) const in FindMethod()
H A Djs_debugger.h119 bool SetBreakpoint(const JSPtLocation &location, Local<FunctionRef> condFuncRef) override;
120 bool SetSmartBreakpoint(const JSPtLocation &location);
121 bool RemoveBreakpoint(const JSPtLocation &location) override;
172 std::unique_ptr<PtMethod> FindMethod(const JSPtLocation &location) const;
/arkcompiler/toolchain/tooling/backend/
H A Djs_pt_hooks.h33 void DebuggerStmt(const JSPtLocation &location) override;
34 void Breakpoint(const JSPtLocation &location) override;
36 void Exception(const JSPtLocation &location) override;
37 bool SingleStep(const JSPtLocation &location) override;
H A Djs_pt_hooks.cpp21 void JSPtHooks::DebuggerStmt([[maybe_unused]] const JSPtLocation &location) in DebuggerStmt()
28 void JSPtHooks::Breakpoint(const JSPtLocation &location) in Breakpoint()
37 void JSPtHooks::Exception([[maybe_unused]] const JSPtLocation &location) in Exception()
45 bool JSPtHooks::SingleStep(const JSPtLocation &location) in SingleStep()
/arkcompiler/toolchain/tooling/test/utils/
H A Dtest_util.h52 static void WaitForBreakpoint(JSPtLocation location) in WaitForBreakpoint()
57 lastEventLocation_ = JSPtLocation(nullptr, EntityId(0), 0); in WaitForBreakpoint()
83 static void WaitForStepComplete(JSPtLocation location) in WaitForStepComplete()
88 lastEventLocation_ = JSPtLocation(nullptr, EntityId(0), 0); in WaitForStepComplete()
114 static void Event(DebugEvent event, JSPtLocation location = JSPtLocation(nullptr, EntityId(0), 0)) in Event() argument
144 static JSPtLocation GetLocation(const char *sourceFile, int32_t line, int32_t column, const char *pandaFile) in GetLocation()
153 return JSPtLocation(jsPandaFile.get(), id, offset, sourceFile); in GetLocation()
156 static SourceLocation GetSourceLocation(const JSPtLocation &location, const char *pandaFile) in GetSourceLocation()
167 static bool SuspendUntilContinue(DebugEvent reason, JSPtLocation locatio argument
[all...]
H A Dtest_events.h26 using DebuggerStmtCallback = std::function<bool(const JSPtLocation &)>;
27 using BreakpointCallback = std::function<bool(const JSPtLocation &)>;
29 using ExceptionCallback = std::function<bool(const JSPtLocation &)>;
30 using SingleStepCallback = std::function<bool(const JSPtLocation &)>;
H A Dtest_hooks.h48 void DebuggerStmt(const JSPtLocation &location) override
55 void Breakpoint(const JSPtLocation &location) override
69 void Exception(const JSPtLocation &location) override
82 bool SingleStep(const JSPtLocation &location) override
H A Dtest_extractor.cpp33 auto callbackFunc = [&retId, &retOffset](const JSPtLocation &jsLocation) -> bool { in GetBreakpointAddress()
/arkcompiler/toolchain/test/fuzztest/backend/backendloadmodule_fuzzer/
H A Dbackendloadmodule_fuzzer.cpp49 using JSPtLocation = tooling::JSPtLocation; in BackendLoadModuleFuzzTest()
54 JSPtLocation ptLocation1(nullptr, methodId, bytecodeOffset); in BackendLoadModuleFuzzTest()
/arkcompiler/toolchain/test/fuzztest/backend/backendexception_fuzzer/
H A Dbackendexception_fuzzer.cpp49 using JSPtLocation = tooling::JSPtLocation; in BackendExceptionFuzzTest()
54 JSPtLocation ptLocation1(nullptr, methodId, bytecodeOffset); in BackendExceptionFuzzTest()
/arkcompiler/toolchain/test/fuzztest/backend/backendsinglestep_fuzzer/
H A Dbackendsinglestep_fuzzer.cpp49 using JSPtLocation = tooling::JSPtLocation; in BackendSingleStepFuzzTest()
54 JSPtLocation ptLocation1(nullptr, methodId, bytecodeOffset); in BackendSingleStepFuzzTest()
/arkcompiler/toolchain/test/fuzztest/backend/backendbreakpoint_fuzzer/
H A Dbackendbreakpoint_fuzzer.cpp49 using JSPtLocation = tooling::JSPtLocation; in BackendBreakpointFuzzTest()
54 JSPtLocation ptLocation1(nullptr, methodId, bytecodeOffset); in BackendBreakpointFuzzTest()
/arkcompiler/toolchain/test/fuzztest/backend/backendnativecalling_fuzzer/
H A Dbackendnativecalling_fuzzer.cpp49 using JSPtLocation = tooling::JSPtLocation; in BackendNativeCallingFuzzTest()
54 JSPtLocation ptLocation1(nullptr, methodId, bytecodeOffset); in BackendNativeCallingFuzzTest()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Ddebug_info_extractor.h56 using JSPtLocation = tooling::JSPtLocation;
149 return cb(JSPtLocation(jsPandaFile_, methodId, pair.offset, url)); in MatchWithLocation()
160 return cb(JSPtLocation(jsPandaFile_, minColumnMethodId, minColumnOffset, url)); in MatchWithLocation()
163 return cb(JSPtLocation(jsPandaFile_, currentMethodId, currentOffset, url)); in MatchWithLocation()
/arkcompiler/toolchain/tooling/test/
H A Djs_pt_hooks_test.cpp67 JSPtLocation ptLocation1(nullptr, methodId, bytecodeOffset); in HWTEST_F_L0()
86 JSPtLocation ptLocation2(nullptr, methodId, bytecodeOffset); in HWTEST_F_L0()
97 JSPtLocation ptLocation4(nullptr, methodId, bytecodeOffset); in HWTEST_F_L0()

Completed in 9 milliseconds

12