Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Debugger reports only one breakpoint when multiple goroutines stop simultaneously #2564

Closed
aarzilli opened this issue Jun 4, 2019 · 1 comment
Labels

Comments

@aarzilli
Copy link

aarzilli commented Jun 4, 2019

  1. Debug https://github.com/aarzilli/delve_client_testing/blob/master/04simbp/main.go
  2. set a breakpoint on main.go:9
  3. hit continue repeatedly

I expect that a total of 100 breakpoint hits will be reported but what happens is that many fewer (between 20 and 30 on a 4 core system) will be reported. The reason is that when multiple goroutines hit the breakpoint at the same time only one is reported, with the other being silently discarded.

@ramya-rao-a
Copy link
Contributor

Closing this issue in favor of golang/vscode-go#130 due to the repo move

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants