Skip to content

Removing breakpoint during runtime causes debugger to hang #1944

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

Closed
PrzemyslawKlys opened this issue May 4, 2019 · 2 comments
Closed

Removing breakpoint during runtime causes debugger to hang #1944

PrzemyslawKlys opened this issue May 4, 2019 · 2 comments

Comments

@PrzemyslawKlys
Copy link
Contributor

System Details

System Details Output

### VSCode version: 1.33.1 51b0b28134d51361cf996d2f0a1c698247aeabd8 x64

### VSCode extensions:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]


### PSES version: 1.12.1.0

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      5.1.17763.316
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.316
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

When you debug PowerShell and set breakpoints everything works. If debugger hits breakpoint and you remove any breakpoints it will continue to run fine (so it's in a stopped state). However, if you continue debugging and you will remove breakpoint while it's between breakpoints (for example code would have 5-10 seconds till next breakpoint) it will hang session and none of the commands will continue to work. It's like it hits that removed breakpoint and you aren't able to continue from there.

Expected Behaviour

Allow removing breakpoints during debug while code is still running, or prevent that.

Actual Behaviour

Hang

Attached Logs

1556962441-320c14cb-1b76-4e5b-aa60-20c06ee662971556959894516.zip

@rjmholt
Copy link
Contributor

rjmholt commented May 6, 2019

This may be a duplicate of #1494.

@SydneyhSmith
Copy link
Collaborator

Closing as a duplicate #1494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants