Skip to content

Conversation

@Sightem
Copy link
Contributor

@Sightem Sightem commented Oct 15, 2025

This PR implements a new "Step Until Return" debugger command that allows the CPU to continue until it encounters a return instruction (RET, RETI, etc.) at or above the current stack level.

Behavior:
When Step Until Return is activated, the debugger will:

  1. Capture the current stack pointer level
  2. Continue execution normally
  3. Break when any return instruction (RET, RETI) is executed at or above the captured stack level
  4. Display the debugger at the return instruction location

Keyboard shortcut: Shift+F9

Breakpoints/watchpoints cancel the command.

@adriweb adriweb assigned adriweb and calc84maniac and unassigned adriweb and calc84maniac Oct 17, 2025
@adriweb adriweb requested a review from calc84maniac October 17, 2025 06:45
@Sightem Sightem force-pushed the execute-until-ret branch 3 times, most recently from 1c53b49 to 613d595 Compare October 18, 2025 02:16
@Sightem Sightem closed this Oct 22, 2025
@Sightem Sightem deleted the execute-until-ret branch October 22, 2025 17:19
@Sightem Sightem restored the execute-until-ret branch October 22, 2025 17:31
@adriweb
Copy link
Member

adriweb commented Oct 22, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants