Open TheStruggleForAntiSpaghetti opened 1 year ago
The 2nd part now works if one uses Step Over.
The wish for part 1 to be able to step out of a subroutine (basically until the address currently on the top of the stack is removed?) still remains. In SpecEmu this is called "Exit Sub".
Could a function next to
Step Into
andStep Over
be added (namedStep Out
?) that executes until after aRET
?When stepping through the code, after using Step Into to step into a
CALL
ed subroutine, one doesn't always want to execute the rest of that subroutine but likes to continue to the address after it was called.The function would also work with repeating/looping instructions like
LDIR
,CPIR
, etc. where one would Step Into then would like to continue after BC=0.With the latter, I now set a breakpoint just after the
LDIR
and press Continue. But with the first, that isn't that simple, as the calling code can be far away, or even in another 128k membank.