Skip to content

Debug adapter process has terminated unexpectedly (read error) #1579

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

Closed
PrzemyslawKlys opened this issue Oct 13, 2018 · 4 comments
Closed

Debug adapter process has terminated unexpectedly (read error) #1579

PrzemyslawKlys opened this issue Oct 13, 2018 · 4 comments
Labels

Comments

@PrzemyslawKlys
Copy link
Contributor

PrzemyslawKlys commented Oct 13, 2018

System Details

System Details Output

& {"### VSCode version: $(code -v)"; "`n### VSCode extensions:`n$(code --list-extensions --show-versions | Out-String)"; "`n### PSES version: $($pseditor.EditorServicesVersion)"; "`n### PowerShell version:`n$($PSVersionTable | Out-String)"}
### VSCode version: 1.28.1 3368db6750222d319c851f6d90eb619d886e08f5 x64

### VSCode extensions:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]


### PSES version: 1.9.0.0

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      5.1.17763.1
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.1
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

I am experiencing a problem with... not able to run code

image

Happens randomly, happens more with newest release 1.9.0, haven't seen (read error) in older versions. But it also can be related to WIndows 10 1809 or OneDrive (I do keep my files on one drive - double security - i've many times were able to save uncommited code that I've deleted just by using onedrive).

Expected Behaviour

Not crashing.

Actual Behaviour

Crashing, usually have to restart PowerShell for it to work again. F5 stops responding. Sometimes starts responding without restart.

Attached Logs

1539415847-32d7f941-f01e-4f22-8529-d050803302021539415844201.zip

@rjmholt
Copy link
Contributor

rjmholt commented Oct 16, 2018

@PrzemyslawKlys, the logs you've uploaded there only have the vscode log, no EditorServices log.

I'm suspecting that this is a duplicate of #1441 though.

@rjmholt rjmholt added Issue-Bug A bug to squash. Area-Debugging labels Oct 16, 2018
@PrzemyslawKlys
Copy link
Contributor Author

When I attach zip it's usually what is there with logs. This must mean EditorServices.log was not created :/

@TheoNordstrom
Copy link

TheoNordstrom commented Dec 10, 2018

I also experience this error from time to time - it hits randomly, but getting worse after upgrade to v1.10.0 and v1.10.1 this morning. I have attached my EditorServices.log

The error occurs often when I debug and using step with F10. If I do it too rapidly, the error occurs even more often.

EditorServices.log

@macfarmw
Copy link

macfarmw commented Apr 2, 2019

I updated to the latest version of the PowerShell extension 1.12.0 released March 29, 2019. Since then I have been unable to use the debugger at all. Prior to this release I noticed that a PowerShell command prompt would open when I opened a PowerShell script file. If I closed the command prompt it would prompt me and ask if I wanted to start a new one. None of that is happening now with this new version.

Update
I updated VSCode to the latest version and then tried the extension again and now it's working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants