Skip to content

Breakpoints set in UI while script is running are never hit #854

@rkeithhill

Description

@rkeithhill

System Details

  • Operating system name and version: Windows 10 CU
  • VS Code version: 1.13.0
  • PowerShell extension version: 5.1.15063.296

Issue Description

Open the Examples folder and then open DebugTest.ps1. Set debug config to launch the current file then press F5. Before the script terminates, set a breakpoint on line 12. This used to work i.e. on the next iteration through the loop the newly set breakpoint would be hit. Now it is not.

I think I also was able to set the breakpoint in the UI while the script was running (didn't hit it) and was able to unset it before the script stopped. On the next iteration, the breakpoint was hit even though it appeared to be removed. After that my debugger got into a hung state.

Attached Logs

Follow the instructions in the README
about capturing and sending logs.
1497062619-9642196a-f1c8-435c-803d-50e4d7d5ce701497062616431.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions