Skip to content

Fix occasional crash when requesting IntelliSense while debugging #432

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 1 commit into from
Apr 7, 2017

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Apr 7, 2017

This change fixes an issue where calling TabExpansion2 while debugging
will sometimes cause a crash due to it returning an ErrorRecord instead
of a CommandCompletion. The fix is to expect the possibility of the
ErrorRecord and log it when it occurs.

Resolves #427.

@daviwil daviwil added this to the 0.12.1 milestone Apr 7, 2017
This change fixes an issue where calling TabExpansion2 while debugging
will sometimes cause a crash due to it returning an ErrorRecord instead
of a CommandCompletion.  The fix is to expect the possibility of the
ErrorRecord and log it when it occurs.

Resolves PowerShell#427.
@daviwil daviwil merged commit 7331273 into PowerShell:develop Apr 7, 2017
@daviwil daviwil deleted the fix-427 branch April 7, 2017 13:25
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.

2 participants