Debugger becomes out of state if we restart the process while it is running
xusheng6 opened this issue · 0 comments
xusheng6 commented
Repro steps:
- Open the
tinystore.macho
binary - Run it, and it should break at main
- Resume it, and it should wait for your input at the first
getchar
- Restart the target
- The target is restarted, however, even after it has reached the initial breakpoint again, the debugger still reports its status as running
- Run
reg read
in the debugger console and we can see pc is attinystore.macho
main`. Which means the backend works as expected, however, the debugger UI's state is out of sync - Click the "pause" button, and now the UI is back in sync with the backend