Skip to content

Fixes #195 - set breakpoint in non-existing file doesn't crash #205

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

Conversation

rkeithhill
Copy link
Contributor

This fixes the crash at the protocol layer for VSCode. This does not cause the debug host to spit anything out to the debug console. I was finding a good way to get a ScriptFile down to the SetLineBreakpoint() method for a source path that does not exist. I figured at the least, we could eliminate the debug host crash for now.

I also believe the VSCode folks should fix this by displaying our message in the breakpoints list UI. See microsoft/vscode#4935


This change is Reviewable

This fixes the crash at the protocol layer for VSCode.
@daviwil
Copy link
Contributor

daviwil commented Apr 5, 2016

Looks good, let's go with it.

@rkeithhill rkeithhill merged commit 4ee2af5 into PowerShell:master Apr 5, 2016
@rkeithhill rkeithhill deleted the rkeithhill/is195-bkpts-fail-nonexisting-files branch April 5, 2016 17:49
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.

3 participants