Home
last modified time | relevance | path

Searched refs:paused (Results 1 - 25 of 37) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
H A Dtest_restart_frame.py53 paused = await stop_point.client.restart_frame(0) # now we returned into frame of the main
54 assert paused.call_frames[0].function_name == "main"
62 paused = await stop_point.client.restart_frame(0)
63 assert paused.call_frames[0].function_name == "foo"
71 paused = await stop_point.client.restart_frame(0)
72 assert paused.call_frames[0].function_name == "boo"
78 paused = await stop_point.client.restart_frame(1)
79 assert paused.call_frames[0].function_name == "foo"
H A Dtest_runtime_capture.py70 async for paused in walker:
71 bp = paused.hit_breakpoints().pop()
72 counter, stop = _check(bp.label, expect, paused, counter)
77 def _check(bp_label: str | None, expect: Expect, paused: PausedStep, counter: int) -> tuple[int, bool]:
82 assert arkts_str(bp_label) == paused.capture.stdout[-1]
85 assert [arkts_str(counter)] == paused.capture.stdout
89 assert arkts_str_list([bp_label]) == paused.capture.stdout
H A Dtest_breaks_props.py107 paused = await client.resume_and_wait_for_paused()
108 log.info(f"{paused}")
113 paused=paused_locator(paused=paused, client=client),
118 assert paused.call_frames[0].location.line_number == br.line_number
167 paused = await client.resume_and_wait_for_paused()
168 paused_ln = paused.call_frames[0].location.line_number
172 paused=paused_locator(paused
[all...]
H A Dtest_stepping.py61 paused = await client.step_into()
62 assert paused.call_frames[0].location.line_number == for_loop_line_number
63 paused = await client.step_into()
64 assert paused.call_frames[0].location.line_number == for_loop_line_number + 1
H A Dtest_remote_object.py50 async with run_and_stop_on_breakpoint(code) as paused:
51 scope_vars = await paused.frame().scope().mirror_variables()
77 async with run_and_stop_on_breakpoint(code) as paused:
78 scope_vars = await paused.frame().scope().mirror_variables()
H A Dtest_steps.py103 paused = await client.run_if_waiting_for_debugger()
104 log.info("%s", paused)
110 paused = await client.continue_to_location(script_id=runtime.ScriptId("0"), line_number=line_number)
111 script_file.log(log, highlight_lines=[paused.call_frames[0].location.line_number + 1])
112 log.info("paused: %s", paused)
115 for frame in paused.call_frames
190 paused = await client.resume_and_wait_for_paused()
191 paused_ln = paused.call_frames[0].location.line_number
H A Dtest_this.py112 warnings.warn(f"Unknown breakpoint on line {paused.frame().data.location.line_number}")
117 async for paused in walker:
118 bp = paused.hit_breakpoints().pop()
121 this_obj = paused.frame().this()
123 scope_vars = await paused.frame().scope().mirror_variables()
H A Dtest_object_preview.py101 async with run_and_stop_on_breakpoint(TEST_OBJECT_PREVIEW) as paused:
103 local_scope_object_id = paused.local_scope().object_().data.object_id
105 properties = await paused.client.get_properties(
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/internal_tests/
H A Dtest_arkts_str.py68 async for paused in walker:
69 vars = await paused.frame().scope().mirror_variables()
120 paused: PausedStep,
128 assert paused.capture.stdout[-1] == "begin"
130 vars = await paused.local_scope().mirror_variables()
133 assert paused.capture.stdout == expected
139 # >>> printed_variables.append(paused.capture.stdout[-1])
177 async for paused in walker:
178 label = paused.hit_breakpoints()[0].label
180 log.info("Capture:\n%s", "\n".join(paused
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
H A Dwalker.py61 self.paused: Paused | None = None
67 self.paused = None
73 paused = await self.client.resume_and_wait_for_paused()
76 self.paused = PausedStep(
78 data=paused,
84 return self.paused
104 if self.paused is None:
106 return "[red]Not paused[/red]"
108 paused=self.paused,
[all...]
H A Ddebug.py193 paused = await context.client.resume_and_wait_for_paused()
197 paused=paused_locator(paused=paused, client=context.client, meta=context.meta),
201 yield Paused(locator=Locator(client=context.client), data=paused)
H A Dlayouts.py102 paused: Paused,
107 frames = await frames_layout(paused.frames(), scopes=scopes, skip_scopes=skip_scopes)
108 highlight_lines = [f.location.line_number for f in paused.data.call_frames]
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedsetdata_fuzzer/
H A Dbaseptspausedsetdata_fuzzer.cpp37 Paused paused; in BasePtsPausedSetDataFuzzTest() local
39 paused.SetCallFrames(std::move(v)).SetReason(PauseReason::EXCEPTION); in BasePtsPausedSetDataFuzzTest()
40 std::unique_ptr<PtJson> json = paused.ToJson(); in BasePtsPausedSetDataFuzzTest()
42 paused.SetData(RemoteObject::Create(*json)); in BasePtsPausedSetDataFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedhashitbreakpoints_fuzzer/
H A Dbaseptspausedhashitbreakpoints_fuzzer.cpp37 Paused paused; in BasePtsPausedHasHitBreakpointsFuzzTest() local
38 paused.HasHitBreakpoints(); in BasePtsPausedHasHitBreakpointsFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedhasdata_fuzzer/
H A Dbaseptspausedhasdata_fuzzer.cpp37 Paused paused; in BasePtsPausedHasDataFuzzTest() local
38 paused.HasData(); in BasePtsPausedHasDataFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedgetcallframes_fuzzer/
H A Dbaseptspausedgetcallframes_fuzzer.cpp37 Paused paused; in BasePtsPausedGetCallFramesFuzzTest() local
38 paused.GetCallFrames(); in BasePtsPausedGetCallFramesFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedgetreasonstring_fuzzer/
H A Dbaseptspausedgetreasonstring_fuzzer.cpp37 Paused paused; in BasePtsPausedGetReasonStringFuzzTest() local
38 paused.GetReasonString(PauseReason::EXCEPTION); in BasePtsPausedGetReasonStringFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedgetreason_fuzzer/
H A Dbaseptspausedgetreason_fuzzer.cpp37 Paused paused; in BasePtsPausedGetReasonFuzzTest() local
38 paused.GetReason(); in BasePtsPausedGetReasonFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedgetname_fuzzer/
H A Dbaseptspausedgetname_fuzzer.cpp37 Paused paused; in BasePtsPausedGetNameFuzzTest() local
38 paused.GetName(); in BasePtsPausedGetNameFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedsethitbreakpoints_fuzzer/
H A Dbaseptspausedsethitbreakpoints_fuzzer.cpp38 Paused paused; in BasePtsPausedSetHitBreakpointsFuzzTest() local
43 paused.SetHitBreakpoints(breakpointid_); in BasePtsPausedSetHitBreakpointsFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedsetreason_fuzzer/
H A Dbaseptspausedsetreason_fuzzer.cpp37 Paused paused; in BasePtsPausedSetReasonFuzzTest() local
39 paused.SetCallFrames(std::move(v)).SetReason(PauseReason::EXCEPTION); in BasePtsPausedSetReasonFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedgethitbreakpoints_fuzzer/
H A Dbaseptspausedgethitbreakpoints_fuzzer.cpp37 Paused paused; in BasePtsPausedGetHitBreakpointsFuzzTest() local
38 paused.GetHitBreakpoints(); in BasePtsPausedGetHitBreakpointsFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedgetdata_fuzzer/
H A Dbaseptspausedgetdata_fuzzer.cpp37 Paused paused; in BasePtsPausedGetDataFuzzTest() local
38 paused.GetData(); in BasePtsPausedGetDataFuzzTest()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedsetcallframes_fuzzer/
H A Dbaseptspausedsetcallframes_fuzzer.cpp37 Paused paused; in BasePtsPausedSetCallFramesFuzzTest() local
39 paused.SetCallFrames(std::move(v)).SetReason(PauseReason::EXCEPTION); in BasePtsPausedSetCallFramesFuzzTest()
/arkcompiler/toolchain/tooling/test/testcases/
H A Djs_variable_first_test.h108 auto paused = static_cast<const Paused *>(&events);
109 std::string str = paused->ToJson()->Stringify();
112 ASSERT_EQ(paused->GetName(), "Debugger.paused");
113 auto frame = paused->GetCallFrames()->at(0).get();

Completed in 8 milliseconds

12