@b0rk When you have a time-travelling debugger available (like Mozilla's rr), stepping backward is very powerful. If you don't, and the code you're executing is deterministic enough across multiple runs, you can step backward to last execution of line N before point of interest by:
- executing once with a breakpoint that counts on line N,
- noting the count at the point of interest,
- executing again and actually breaking on that breakpoint when count reaches that value.