The source code is a couple of loops that each take a few seconds to execute. After hitting a breakpoint in the first loop, I disconnect. I then immediately try to reconnect, but it seems the program ignores the attempt until it finishes running.
Is there anything I can do differently to be able to reattach the debugger?