-
Notifications
You must be signed in to change notification settings - Fork 511
PS Integrated Console crashing on debug #2106
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
Which debug configuration are you using? If you are using |
Hi @rkeithhill, thanks you for the quick answer.
|
I thougth the problem could be the |
@SydneyhSmith yes i confirm that if i try to start a debugging session on another project in the same root folder ( But if I try on another script in the same parent folder ( |
I also have crashing on debug. I filed a ticket before (but couldn't really repro so let it die) where I thought it crashing as a result in an exception in another class, but it turns out it just happens on debug. There's no rhyme or reason to it, it'll go for stretches where it's fine, then it will crash 10 or more times in a row on the same script. Some of the scripts are very simple with just a few lines, but all of them refer to other PowerShell classes in my case. Attached are some log files for a sample crash, in this case the extension crashed after every single run resulting in VS Code noting the crash and asking for a wait or reopen (waiting doesn't change anything though I've not waited more than 5 minutes to be honest). In this particular set of examples, the log errors are all the same, so I've only included one crash. Logs: In this case I consistently see this error across multiple sessions:
There are days when my extension can crash 30+ times which is challenging to say the least. I've completely uninstalled / reinstalled the extension, VS Code etc. but the results remain the same. Thanks! |
From the screenshot, it looks like this other script you're running has some character in the filename that is causing an issue. Basically VSCode will turn it into a URI and then we turn it back into a filepath. Can you share the name of that second script? Or otherwise any non alpha-numeric characters that might be in that filename? @carsontwilson in your case it sounds like you're hitting a different issue to do with the debug pipe. Would you be able to open a new issue to track that? |
Hi @rjmholt, I did some additional checks and I try to summarize as clearly as possibile:
So, at the moment, i don't have the issue but i haven't able to identify the root cause. |
Ah that path is the important bit! Looks like you're hitting #1994. I'm working on fixing that currently |
This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes. |
Issue Description
I am experiencing a problem with a debugging session. It crashes immediately.
Attached Logs
EditorServices.log
Start-EditorServices-EditorServices.log
vscode-powershell.log
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: