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

Debugging a non-compiling app doesn't automatically end the debug session #492

Closed
jcdickinson opened this issue Sep 20, 2016 · 1 comment
Assignees
Labels

Comments

@jcdickinson
Copy link

jcdickinson commented Sep 20, 2016

Repro

  1. Apply the workaround in Cannot run project #474 on: VSCode 1.5.2, Go 1.7.1, Windows 10 Anniversary.
  2. Create a simple hello world main.go.
  3. Press F5 and accept the defaults for launch.json.
  4. Press F5 and make sure that debugging works.
  5. Add a simple compilation error (e.g. unused variable).
  6. Press F5.

Outcome

The app fails to compile, the debugger toolbar appears and the stop button must be clicked. The debug log shows exit status 2. The debugging session must be manually terminated.

Debug session is not terminated

Expected Outcome

The app fails to compile and no debug session is started, or the debug session is automatically terminated.

@ramya-rao-a
Copy link
Contributor

Fixed in the latest update (0.6.54) to the Go extension.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 23, 2018
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