-
Notifications
You must be signed in to change notification settings - Fork 296
The debugger halts the debugee indefinitely if not in focus #501
Description
I have code hot reloading done via load-unloading a dll. My work flow is that i spend most of my time in my editor through which i call my build script that does the compile, and the executable does the detection of a newer dll and does unload-swap-load. I run the game through raddbg.
There seems to be a regression of some sort in the commit
47d658d - ensure rd frame depth is always computed correctly; eliminate incorrect frame scope (ctrl/di) usage - fix weird deadlocks!
where my game completely hangs after/during the dll reload. When it starts hanging it will hang indefinitely until i alt tab raddbg into focus, then everything resumes normally. I tried the commit before the one referenced, things worked normally there.
If i add calls like OutputDebugString in the main loop that goes into the debuggers output panel, then the issue doesn't manifest.