Skip to content

Hitting F5 while powershell session is still initializing breaks debugger until vscode restart  #632

Closed
@clmcgrath

Description

@clmcgrath

System Details

  • Operating system name and version: Windows 10 Enterprise
  • VS Code version:
  • PowerShell extension version: 1.10.2
  • Output from $PSVersionTable:
Importing Visual Studio Tools..
Loading Visual Studio Command Line Tools...
Loading personal and system profiles took 2584ms.
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32>
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32> code -v
1.10.2
8076a19fdcab7e1fc1707952d652f0bb6c6db331
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32> $pseditor.EditorServicesVersion
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32> code --list-extensions --show-versions
Andreabbondanza.ignoregit@1.0.0
cdsama.tortoise-svn-for-vscode@0.1.1
codezombiech.gitignore@0.5.0
Compulim.vscode-mocha@0.1.1
cspotcode.vscode-mocha-latte@0.2.0
dcortes92.FreeMarker@0.0.8
DotJoshJohnson.xml@1.7.0
eg2.vscode-npm-script@0.1.8
fantasytyx.tortoise-svn@0.1.1
felipecaputo.git-project-manager@1.2.1
formulahendry.code-runner@0.6.15
gep13.chocolatey-vscode@0.2.2
Kipters.codeshell@0.2.2
MattiasPernhult.vscode-todo@0.8.0
mbinic.tgit-cmds@1.0.0
ms-vscode.csharp@1.8.0
ms-vscode.PowerShell@0.11.0
qub.qub-msbuild@0.6.3
remcoros.startanyshell@0.3.1
robertohuertasm.vscode-icons@7.4.0
samverschueren.yo@0.9.3
wayou.vscode-todo-highlight@0.4.12
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32> $PSVersionTable

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

Issue Description

If you are too fast hitting the F5 key after resetting a powershell session via command palette or on initial vscode startup the debugger craps out completely and can not start a debug session (at least via F5) until a full restart of vscode then it works fine again

Attached Logs

vscode-powershell.log.txt
EditorServices.log.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions