Community
Participate
Working Groups
We are implementing a debugger for our language using DLTK/DBGp . When I press the 'suspend' button in the Debug UI (which corresponds to a DBGp 'break' command), the UI simultaneously sends a 'stack_get' command. My debugger engine sometimes receives the stack_get before the break, and sometimes afterwards. It seems that there is an unintentional thread race between the UI issuing the 'stack_get' and the DLTK core issuing the 'break'. Unfortunately this means we have to rearchitect our code to support 'synchronous' calls during an 'asynchronous' point in time, and some of the other constraints of the protocol become less clear.