You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[release] src/goDebugFactory.ts: send the first error when starting dlv-dap
For every message that the thin adapter needs to forward to dlv-dap,
the thin adapter needs to make sure it can connect to the server. If
there was an error connecting to the server it will send an error
message and a terminated event so the client knows the debug session
is not active. If multiple messages are sent to the server, the user
gets shown multiple error messages. This change records whether we
have already sent a terminated event because of an error, and will
not send duplicate error messages.
Fixes#1426
Change-Id: I8b81959b529f3802c9aa2cbebdbe8008af5902b3
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/310517
Trust: Suzy Mueller <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
(cherry picked from commit bd55732)
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/311452
Trust: Hyang-Ah Hana Kim <[email protected]>
Run-TryBot: Hyang-Ah Hana Kim <[email protected]>
TryBot-Result: kokoro <[email protected]>
Reviewed-by: Suzy Mueller <[email protected]>
0 commit comments