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

debug: clicking 'debug test' twice runs two instances of the debugger simultaneously #109

Closed
ramya-rao-a opened this issue May 28, 2020 · 1 comment
Labels
Debug Issues related to the debugging functionality of the extension. FrozenDueToAge HelpWanted Issues that are not prioritized by the maintainers. Help is requested from community contributors. NeedsFix The path to resolution is known, but the work has not been done.

Comments

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented May 28, 2020

In a test file, when the debug test codelens is clicked twice, two instances of the debugger are started. Ideally, the second click should result in an error notifying that a debug session is already in progress

Steps to reproduce:

  1. Set a breakpoint.
  2. Click 'debug test' and wait to hit the breakpoint.
  3. Step one line forward.
  4. Click 'debug test' and wait to hit the breakpoint, again.

For more, including pointers on how to fix this, please see microsoft/vscode-go#1383.

@ramya-rao-a ramya-rao-a added Debug Issues related to the debugging functionality of the extension. HelpWanted Issues that are not prioritized by the maintainers. Help is requested from community contributors. NeedsFix The path to resolution is known, but the work has not been done. labels May 28, 2020
@stamblerre stamblerre changed the title Clicking 'debug test' twice runs two instances of the debugger simultaneously debug: clicking 'debug test' twice runs two instances of the debugger simultaneously Jun 3, 2020
@gopherbot
Copy link
Collaborator

Change https://golang.org/cl/240905 mentions this issue: debug: fix to prevents multiple debug sessions lanuching

@golang golang locked and limited conversation to collaborators Jul 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Debug Issues related to the debugging functionality of the extension. FrozenDueToAge HelpWanted Issues that are not prioritized by the maintainers. Help is requested from community contributors. NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants