This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Pause debugging, add/remove breakpoints while debugging and whole lot of other improvements to the debugging process along with code navigation improvements in module mode
Debugging improvements
-
- Display nested content of structs in variables pane. Fixes Bug 1010 with PR 2198
- Display shadowed variables in variables pane. Fixes Bug 1974 with PR 2254
- Fix the slowness during debugging that got introduced a few releases ago, by caching the package info used to call
ListPackageVars
command in delve. PR 2289
-
Adrian Suwała (@Ashiroq) & * Vlad Barosan (@vladbarosan)
- New command
Go: Debug Test at Cursor
to debug the test function under the cursor. This provides the same feature as the debug codelens, but in the form of a command. Feature Request 1088 implemented with PR 2059
- New command
-
- Fix bug that got introduced in the previous release where only the top call stack frame was shown. Fixes Bug 2187 with PR 2200
- Upstream bug fix in VS Code to avoid the frequent jump to
proc.go
file when stepping in/out during debugging. Fixes microsoft/vscode#65920
-
- Use
LoggingDebugSession
to show logs from the VS Code debug adapter. Feature Request 858 implemented with PR 2081
- Use
-
- Trace levels updated to include
log
which would be the oldverbose
. The newverbose
will include logs from the VS Code debug adapter. - Avoid showing global variables by default as it affects performance. PR 2133
- Trace levels updated to include
-
- Use the new respository link for delve. PR 2277
Others
-
- When no folder is opened in VS Code,
Go to definition
feature now works on individual files. Fixes Bug 2246 with commit 58817b8 - When the main module is opened in VS Code,
Go to definition
feature now works for sub modules as well. Fixes Bug 2180 with PR 2262 - Run the on save features only for current file. This will improve performance when multiple files are being saved at once, for eg: after find replace across files. Fixes Bug 2202 with commit cf0a61c
- Allow disabling of documentation in the auto-completion widget to solve the perf issue due to multiple
go doc
processes being spawned. Fixes Bug 2152 with commit e4522ba1. This is done using the flag-excludeDocs
in thego.gocodeFlags
setting.
- When no folder is opened in VS Code,
-
- Show test coverage even if the test fails. Feature Request 2193 implemented with PR 2263
-
Kaarthik Rao Bekal Radhakrishna (@karthikraobr)
- Avoid invalidating code coverage when updating single line comments. PR 1996
-
- Fix tool descriptions in the dropdown from
Go: Install/Update Tools
command. [PR 2235](https://github.com/
/pull/2235)
- Fix tool descriptions in the dropdown from