Skip to content

The debugger halts the debugee indefinitely if not in focus #501

@Strewya

Description

@Strewya

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions