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
{{ message }}
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
as soon as a breakpoint is hit. The problem seems to be that obviously not all watches exist in the same scope (or maybe same goroutine) and vscode-go/delve errors on the ones that are not accessible.
Instead, these errors should be suppressed (or go to the terminal window) and not clutter the debug console that shows the application output.
Steps to reproduce the behavior:
Set breakpoint, open debug console
add various watches, especially outside breakpoint's scope
What version of Go, VS Code & VS Code Go extension are you using?
Run
go versionto get version of Gogo version go1.13.6 darwin/amd64
Run
code -vorcode-insiders -vto get version of VS Code or VS Code Insiders1.41.1
26076a4de974ead31f97692a0d32f90d735645c0
x64
Check your installed extensions to get the version of the VS Code Go extension
0.12.0
Run
go env GOOS GOARCHto get the operating system and processor arhcitecture detailsdarwin
amd64
Describe the bug
During debugging, with some watches added, the debug console gets flowed with lengthy output of
as soon as a breakpoint is hit. The problem seems to be that obviously not all watches exist in the same scope (or maybe same goroutine) and vscode-go/delve errors on the ones that are not accessible.
Instead, these errors should be suppressed (or go to the terminal window) and not clutter the debug console that shows the application output.
Steps to reproduce the behavior: