-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
GHCRequires changing GHC and/or the RTSRequires changing GHC and/or the RTSchallenging ❤️🔥Here be dragonsHere be dragons
Description
Both in DAP mode (with the pause button) and in Cli mode (with ctrl-c, like in gdb) one should be able to suspend the running program and yield to the debugger.
Off the top of my head it sounds like to do this we have to convince the scheduler to stop at the next consistent state once "Pause" is requested. Likely this means some global toggle which at the next consistent state unblocks the debugger thread and blocks the program execution until the debugger resumes.
Metadata
Metadata
Assignees
Labels
GHCRequires changing GHC and/or the RTSRequires changing GHC and/or the RTSchallenging ❤️🔥Here be dragonsHere be dragons