-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debug: "unable to display threads: detached from the process" #149
Comments
I'm seeing this pretty consistently whenever I restart or stop debugging. macOS 10.14.6 |
I think this is caused by the same flaw in the logic that causes #172. We need to fix continue logic not to always assume that execution was stopped on a breakpoint. |
Change https://golang.org/cl/253578 mentions this issue: |
Change https://golang.org/cl/262257 mentions this issue: |
There were some issues caused by not sending a stopped event to the client every time that the continue callback was called. This change reverts the logic to skip calling handleReenterDebug in order to get back to a state where the debugger issues stopped events every time. This should fix issues with the debugger appearing to be running when it is stopped. Updates #149, #172, and #759 Change-Id: I70aae05bc3bf50499b046594a43d972ec01091cf Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/262257 Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Trust: Suzy Mueller <suzmue@golang.org> Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This bug does not appear in the dlv dap DA and we do not plan to fix this in the legacy adapter. |
Transferring this issue from microsoft/vscode-go#3104 - see the repro case provided in microsoft/vscode-go#3104 (comment).
/cc @polinasok
The text was updated successfully, but these errors were encountered: