Home
last modified time | relevance | path

Searched refs:walker (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/evaluate/
H A Dtest_evaluate_simple.py24 from arkdb.walker import BreakpointWalkerType
46 async with breakpoint_walker(code) as walker:
47 eval_point = await anext(walker)
48 assert walker.capture.stdout[-1] == arkts_str(BEFORE_EVAL_MESSAGE)
50 result = await eval_point.evaluate(expression, [walker.script_file.panda_file])
56 assert walker.capture.stdout[-1] == arkts_str(EVAL_MESSAGE)
59 await anext(walker)
60 assert walker.capture.stdout[-1] == arkts_str(AFTER_EVAL_MESSAGE)
77 async with breakpoint_walker(code) as walker:
78 eval_point = await anext(walker)
[all...]
H A Dtest_ets_evaluate.py27 from arkdb.walker import BreakpointWalkerType
98 async with breakpoint_walker(base_file) as walker:
99 stop_point = await anext(walker)
108 [walker.script_file.panda_file],
121 stop_point = await anext(walker)
125 assert walker.capture.stdout[-1] == arkts_str(breakpoints[0].label)
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dstack_walker_test.cpp170 StackWalker walker(reinterpret_cast<void *>(fp), true, lr); in TEST_F()
172 walker.NextFrame(); in TEST_F()
175 HOOK_ASSERT(!walker.IsCFrame(), return 1); in TEST_F()
176 success = walker.IterateVRegsWithInfo([&wasSet, &walker](const auto &regInfo, const auto &reg) { in TEST_F()
179 walker.SetVRegValue(regInfo, FRAME_VALUES[0]); in TEST_F()
187 walker.NextFrame(); in TEST_F()
188 HOOK_ASSERT(walker.IsCFrame(), return 1); in TEST_F()
189 success = walker.IterateVRegsWithInfo([&walker](cons in TEST_F()
320 FirstRunModifyVregs(int *regIndex, StackWalker *walker, ObjectHeader *obj, const VRegInfo *regInfo, const VRegRef &reg) FirstRunModifyVregs() argument
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
H A Dtest_restart_frame.py18 from arkdb.walker import BreakpointWalkerType
48 async with breakpoint_walker(TEST_RESTART_FRAME_CODE) as walker:
49 stop_point = await anext(walker)
56 stop_point = await anext(walker)
58 stop_point = await anext(walker)
65 stop_point = await anext(walker)
67 stop_point = await anext(walker)
74 stop_point = await anext(walker)
H A Dtest_this.py25 from arkdb.walker import BreakpointWalkerType
96 walker.stop()
114 async with breakpoint_walker(code) as walker:
115 unk_bp = next(filter(lambda b: b.label == "unknown", walker.meta.breakpoints))
117 async for paused in walker:
120 await walker.log_layout("%s %s", label, bp)
H A Dtest_runtime_capture.py24 from arkdb.walker import BreakpointWalkerType, PausedStep
69 async with breakpoint_walker(code) as walker:
70 async for paused in walker:
74 walker.stop()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/internal_tests/
H A Dtest_arkts_str.py28 from arkdb.walker import BreakpointWalker, BreakpointWalkerType, PausedStep
66 async with breakpoint_walker(code) as walker:
67 cap = walker.capture
68 async for paused in walker:
71 await walker.log_layout("%s", a)
74 walker.stop()
121 walker: BreakpointWalker,
134 walker.stop()
176 async with breakpoint_walker(code) as walker:
177 async for paused in walker
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DcapturedVariables.cpp73 std::function<void(ir::AstNode *)> walker = [&](ir::AstNode *node) -> void { variable
80 node->Iterate(walker);
97 node->Iterate(walker);
100 scriptFunction->Iterate(walker);
H A DboxingForLocals.cpp35 std::function<void(ir::AstNode *)> walker = [&](ir::AstNode *ast) { in FindCaptured() local
42 ast->Iterate(walker); in FindCaptured()
73 ast->Iterate(walker); in FindCaptured()
76 func->Iterate(walker); in FindCaptured()
87 std::function<void(ir::AstNode *)> walker = [&](ir::AstNode *ast) { in FindModified() local
99 func->IterateRecursively(walker); in FindModified()
/arkcompiler/runtime_core/static_core/runtime/
H A Druntime_helpers.cpp29 auto walker = StackWalker::Create(thread); in PrintStackTrace() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_StackTrace.cpp66 auto walker = StackWalker::Create(thread); in StdCoreStackTraceProvisionStackTrace() local
H A Dstd_core.cpp43 auto walker = StackWalker::Create(thread); in StdCoreStackTraceLines() local

Completed in 5 milliseconds