Commit graph

2 commits

Author SHA1 Message Date
Eric Snow
523d9c2def
Reset session-dependent debugger state upon detach. (#527)
(fixes #285)

We were not clearing things like breakpoints nor resuming threads when an "attach" session disconnnected. This caused problems, e.g. when disconnect happened with a thread stopped for a breakpoint. This PR fixes the problem by resetting all session-dependent debugger resources after the "disconnect" response has been sent (only for an "attach" session).
2018-06-26 15:27:48 -06:00
Eric Snow
ac8faf9dfe
Wait for handshake completion when waiting for attach. (#502)
(see gh-448)

There is a race between attach and handshake completion that may result in breakpoints not being hit. This PR fixes that by waiting for handshake completion when waiting for attach.
2018-06-21 17:31:52 -06:00