Skip to content
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

code coverage: gutter type coverage covers breakpoints #588

Open
saurabhsuniljain opened this issue Aug 31, 2020 · 7 comments
Open

code coverage: gutter type coverage covers breakpoints #588

saurabhsuniljain opened this issue Aug 31, 2020 · 7 comments
Labels
upstream-vscode Issues that are by problems in VS Code itself.

Comments

@saurabhsuniljain
Copy link

saurabhsuniljain commented Aug 31, 2020

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: microsoft/vscode-go#1715

If there is any workaround anyone has found please let me know.

@hyangah
Copy link
Contributor

hyangah commented Aug 31, 2020

The upstream issue is microsoft/vscode#5923 and still no solution.

Wonder if we can come up with a less intrusive highlight display.

/cc @pjweinbgo

@hyangah hyangah added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Aug 31, 2020
@saurabhsuniljain
Copy link
Author

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.

@pjweinbgo
Copy link
Contributor

pjweinbgo commented Aug 31, 2020 via email

@hyangah hyangah changed the title Code coverage in gutter covers breakpoints code coverage: gutter type coverage covers breakpoints Sep 2, 2020
@schuster-rainer
Copy link

schuster-rainer commented Oct 14, 2020

You can use F9 for setting the breakpoint. Or depending on your keybinding what "set breakpoint" is mapped to

@gopherbot gopherbot added this to the Untriaged milestone Apr 8, 2021
@stamblerre stamblerre modified the milestones: Untriaged, Backlog Apr 9, 2021
@thomaspaulin
Copy link

@hyangah
Copy link
Contributor

hyangah commented Jan 5, 2024

Thanks @thomaspaulin
Looks like the issue that caused gutter to cover breakpoints is indeed resolved.
Screenshot 2024-01-05 at 11 45 37 AM

However, microsoft/vscode#95992 is still open - setting new breakpoints still doesn't work. :-( Users still can add new breakpoints with F9.

@hyangah hyangah added upstream-vscode Issues that are by problems in VS Code itself. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Jan 5, 2024
@connor4312
Copy link

connor4312 commented Mar 26, 2024

Fyi we are finalizing (in next week's 1.88 release) official support for test coverage, and using that avoids the issue microsoft/vscode#123713

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream-vscode Issues that are by problems in VS Code itself.
Projects
None yet
Development

No branches or pull requests

8 participants