vscode-go
vscode-go copied to clipboard
code coverage: gutter type coverage covers breakpoints
When code coverage gutter is displayed, not able to add/delete/modify breakpoints, there was an already issue filed for this in the old repo.
Old Issue: https://github.com/microsoft/vscode-go/issues/1715
If there is any workaround anyone has found please let me know.
The upstream issue is https://github.com/microsoft/vscode/issues/5923 and still no solution.
Wonder if we can come up with a less intrusive highlight display.
/cc @pjweinbgo
For, now I found a workaround you can change the type
for code coverage in setting as highlight
.
It is not a good experience but it is a workaround for when you want to debug and check code coverage at the same time.
we could have a statusBar-only choice, perhaps. That's the red/green marks on the right.
On Mon, Aug 31, 2020 at 2:29 PM Saurabh Jain [email protected] wrote:
For, now I found a workaround you can change the type for code coverage in setting as highlight.
It is not a good experience but it is a workaround for when you want to debug and check code coverage at the same time.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/golang/vscode-go/issues/588#issuecomment-683951667, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACL4QJCLPAM7W5YUCO6O5MTSDPTYRANCNFSM4QQF7WTA .
You can use F9 for setting the breakpoint. Or depending on your keybinding what "set breakpoint" is mapped to
Thanks @thomaspaulin
Looks like the issue that caused gutter to cover breakpoints is indeed resolved.
However, https://github.com/microsoft/vscode/issues/95992 is still open - setting new breakpoints still doesn't work. :-( Users still can add new breakpoints with F9.
Fyi we are finalizing (in next week's 1.88 release) official support for test coverage, and using that avoids the issue https://github.com/microsoft/vscode/issues/123713