Skip to content

Rkeithhill/fix breakpoint on nonexisting file #581

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

Merged
merged 3 commits into from
Dec 5, 2017

Conversation

rkeithhill
Copy link
Contributor

This fixes PowerShell/vscode-powershell#1114

Apparently there are other ways a source file with a breakpoint set on it, cannot be accessed. In this case, it is when the network location where the file exists goes away. With this PR I'm adding handling for all other exceptions except Argument*Exceptions in the set breakpoint code.

@rkeithhill rkeithhill added this to the 1.5.2 milestone Dec 3, 2017
@rkeithhill rkeithhill merged commit ff59c49 into master Dec 5, 2017
@rkeithhill rkeithhill deleted the rkeithhill/fix-breakpoint-on-nonexisting-file branch December 5, 2017 03:21
TylerLeonhardt pushed a commit to TylerLeonhardt/PowerShellEditorServices that referenced this pull request Feb 26, 2019
This change adds a new context menu action in the editor pane for the Run
Selection command.

Resolves PowerShell#581.
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

Successfully merging this pull request may close these issues.

Debug adapter crashes trying to restore breakpoints on non-available network location
1 participant