Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was 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

@jcdickinson

Description

@jcdickinson

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions