Skip to content

Debugger crash with message _Debug adapter process has terminated unexpectedly_ #1334

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
vstiebe opened this issue May 25, 2018 · 3 comments
Closed
Labels

Comments

@vstiebe
Copy link

vstiebe commented May 25, 2018

System Details

  • Operating system name and version: Microsoft Windows 10 (1803)
  • VS Code version: 1.23.1
  • PowerShell extension version: 1.7.0
  • Output from $PSVersionTable:
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:
PS C:\infra> code -v
1.23.1
d0182c3417d225529c6d5ad24b7572815d0de9ac
x64
PS C:\infra> $pseditor.EditorServicesVersion
PS C:\infra> code --list-extensions --show-versions
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

PS C:\infra> $PSVersionTable

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


PS C:\infra>

Issue Description

Can't execute scripts on debugger using F5 - Start Debugging.
Even a simple one like this.

write-host "Test"

Using the F8 shortcut it works.

Attached Logs

logs-diagnostic.zip
logs-verbose.zip

@TylerLeonhardt
Copy link
Member

Thanks for the info! We'll take a look 👍

@raandree
Copy link

+1

Right now I cannot debug scripts anymore in vscode due to that issue. At least I have the same error message.

In general, the debug experience is quite awful and VSCode takes up to 30GB or RAM and crashes quite often when debugging DSC projects.

@rjmholt
Copy link
Contributor

rjmholt commented Aug 16, 2018

Looks like this particular issue is a race condition -- the script file name is unset after the task is fired.

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