-
Notifications
You must be signed in to change notification settings - Fork 311
VSCode crashes with errior in PSReadLine #2074
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
have you edited your MAX_PATH to allow paths over the default 256 characters? If not, you can go to the registry and under the following path, Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem you should see the entry called LongPathsEnabled double click that entry and replace the 0 to a 1 and that should clear out your issue. |
@doctordns The "Last 200 keys" shows the last input is something like the following snippet,
but the screen content you shared shows the exception happened at
Did you miss any screen content? Could you please share a repro for this issue? That would be very helpful to our investigation. Thank you in advance! |
I can not find dupicate it at will, but I do see it a lot. As for the truncation - this is an irregular issue with VS Code. It regularly eats output. I run a script and the output gets munged. |
I have this same issue recently running Jest tests with the Jest Runner extension.
Jest is set to It was previously working, and I haven't updated since, so I'm not sure what triggered the behaviour Exception:
|
Manually writing out tests for jest seem to trigger this when it reaches a quote character E.g. writing
Will trigger the exception when you type the character |
@divillysausages What version of PSReadLine are you using? Can you run the following script to collect some environment data?
|
Hi @daxian-dbw Output:
This is from the powershell console inside VSCode, if that wasn't clear. I'll write my tests, and the Jest Runner plugin will give me a little It's rare enough that I haven't been able to figure out the exact steps to reproduce it, unfortunately :( |
@divillysausages Thanks! The |
For the original report, it is a true issue that I saw from a few other reports ( |
Mark this issue as a duplicate of #2298 |
Uh oh!
There was an error while loading. Please reload this page.
Using VS Code with PowerShell 7.1 Got this error:
As requested - this is a report.
Environment
Environment
PSReadLine: 2.1.0
PowerShell: 7.1.0
OS: Microsoft Windows 10.0.20270
BufferWidth: 129
BufferHeight: 15
Exception report
Exception
Steps to reproduce
working in VS COde??
Expected behavior
no error!
Actual behavior
VS Code terminal seems to error.
The text was updated successfully, but these errors were encountered: