[all-commits] [llvm/llvm-project] 8c7462: [Dexter] Add !then node

Stephen Tozer via All-commits all-commits at lists.llvm.org
Mon Jun 8 11:47:09 PDT 2026


  Branch: refs/heads/users/SLTozer/dexter-8-then
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c7462e9eefd758bf614fd5b92a3bfb0b5709361
      https://github.com/llvm/llvm-project/commit/8c7462e9eefd758bf614fd5b92a3bfb0b5709361
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ScriptDebuggerController.py
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
    M cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
    M cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.py
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/debugging/then_finish.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/debugging/then_step_out.cpp
    M cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/parser/invalid-script-nodes.test
    M cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/parser/valid-parse.test

  Log Message:
  -----------
  [Dexter] Add !then node

In order to exercise more control over stepping in Dexter tests, this patch
adds the `!then` node which can be used to step out of a function or exit
the current test. Unlike expect nodes, !then nodes appear as direct singular
children of a state node:

!where {lines: 10}: !then finish

The two currently available commands are "step_out" and "finish". step_out
performs a debugger "step out" command, skipping over all !wheres in the
current frame and not stepping into any lower !wheres. The finish command
ends the debugger session immediately after finishing the current step.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list