stardot / b-em

An opensource BBC Micro emulator for Win32 and Linux
http://stardot.org.uk/forums/viewtopic.php?f=4&t=10823
GNU General Public License v2.0
112 stars 56 forks source link

Disable auto-pause when the debugger is active? #207

Open ZornsLemma opened 11 months ago

ZornsLemma commented 11 months ago

I like the auto-pause option, but it doesn't seem to mix well with the debugger, as the terminal with the b-em debugger in usually has the focus instead of the main b-em window and I have to go and explicitly give the b-em window the focus so the code can run.

I think it would make more sense to ignore the auto-pause option when the debugger is in use. Maybe this isn't as good an idea as it sounds, but I can't see any obvious downsides. What do you think?

SteveFosdick commented 11 months ago

That's a good point. I will try it out with having the debugger enabled override auto-pause and see. I did wonder about only when stopped but I don't think that would work - the issue is that after having set a breakpoint and told it to continue to the break-point, we don't necessarily switch back to the b-em window.