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

Non-stop mode debugging #2564

Open
dlipovetsky opened this issue Dec 10, 2022 · 2 comments
Open

Non-stop mode debugging #2564

dlipovetsky opened this issue Dec 10, 2022 · 2 comments
Labels
Debug Issues related to the debugging functionality of the extension. FeatureRequest

Comments

@dlipovetsky
Copy link
Contributor

Is your feature request related to a problem? Please describe.
While using the debugger, I want to stop a specific goroutine, while other goroutines continue to run.

Use cases include:

  • Investigating data races between goroutines.
  • Stepping through code while a separate goroutine continues to respond to external requests, e.g., health checks.

Describe the solution you'd like
Support for this mode in UI, or the launch configuration, and relevant changes to the DAP client.

Describe alternatives you've considered
N/A

Additional context
This feature depends on support for a non-stop debug mode in the Delve debugger. That support, in turn, depends on changes to the go runtime.

@dlipovetsky dlipovetsky changed the title Non-stop debug mode Non-stop mode debugging Dec 10, 2022
@gopherbot gopherbot added this to the Untriaged milestone Dec 10, 2022
@dlipovetsky
Copy link
Contributor Author

I know of one extension that has support for GDB's non-stop debugging using DAP. Support was added here: eclipse-cdt-cloud/cdt-gdb-adapter#194. It might be a useful reference, at least with respect to DAP.

@findleyr
Copy link
Member

Thanks you for the issue. I agree this would be a useful feature -- we'll look into supporting it if it becomes available in Delve (by way of golang/go#31132).

For now, moving to the backlog.

@findleyr findleyr added the Debug Issues related to the debugging functionality of the extension. label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Debug Issues related to the debugging functionality of the extension. FeatureRequest
Projects
None yet
Development

No branches or pull requests

3 participants