-
Notifications
You must be signed in to change notification settings - Fork 511
Integrated terminal crashes with PS Extension V2 when stopping interactive debug session #1531
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
Comments
I did some more testing. This issue occurs when in the interactive session I launch a script with a breakpoint. Then if I stop the debugger while inside the script the error occurs. If I step through the script to completion then stop the debugger the issues doesn't occur. |
Thanks for the update @muzzar78 can you repro this crash in 1.9.0? I'd like to determine that the issue is in v2. |
I think this is also in 1.9.0 -- see #1494. I think this is probably a duplicate of that issue -- although the more data we have the better. |
I have tested with 1.9.0 and can't reproduce the issue. I was thinking it might have something to do with the script context. In 2.0.0 I can see the following error 2018-10-06 01:18:52.283 [ERROR] C:\Users\roholt\Documents\Dev\PowerShellEditorServices\src\PowerShellEditorServices.Protocol\Server\DebugAdapter.cs: In method 'OnExecutionCompleted', line 121: System.NullReferenceException: Object reference not set to an instance of an object. and then 2018-10-06 01:18:52.297 [ERROR] C:\Users\roholt\Documents\Dev\PowerShellEditorServices\src\PowerShellEditorServices.Protocol\MessageProtocol\ProtocolEndpoint.cs: In method 'OnListenTaskCompleted', line 391:
|
Duping this to #1494 so we can keep all the discussion there. |
Issue Description
I am experiencing a problem with PowerShell integrated terminal crashing when I stop an interactive debugging session. I'm able to replicate the problem each time I stop the interactive debugging session.
Attached Logs
vscode-powershell.zip
Follow the instructions in the README about
capturing and sending logs.
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: