nakst/gf

Stepping too quickly causes debugging to stop working

Closed this issue · 2 comments

Repro: start debugging, then mash F10 quickly a few times. Or, hold it down with a fast key repeat rate.

Actual result: debugging stops working.

Expected result: debugging keeps working.

Edit: only seems to happen with source view, not disassembly view.

nakst commented

Can you check if this fixed in 0990249 ?

Fixed! Thank you!

But also, the original problem wasn't as bad as I thought. It was only going completely off the rails in one program, and also when I did a test with a simple hello world program in the same session.

The new change is good, though since it also stops the spurious n commands being sent, which could cause the debugger to interrupt when it shouldn't.