Skip to content

ArgumentOutOfRangeException when finding references crashes language/debug server #1004

Closed
@bonneycm

Description

@bonneycm

System Details

  • Operating system name and version: Windows Server 2008 R2
  • VS Code version: 1.14.2 (also fails on 1.15)
  • PowerShell extension version: 1.4.1
  • Output from $PSVersionTable:
    PSVersion 5.0.10586.117
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    BuildVersion 10.0.10586.117
    CLRVersion 4.0.30319.42000
    WSManStackVersion 3.0
    PSRemotingProtocolVersion 2.3
    SerializationVersion 1.1.0.1
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:
1.14.2
cb82febafda0c8c199b9201ad274e25d9a76874e
ms-vscode.PowerShell@1.4.1

Name                           Value                                                                                                                                                      
----                           -----                                                                                                                                                      
PSVersion                      5.0.10586.117                                                                                                                                              
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                    
BuildVersion                   10.0.10586.117                                                                                                                                             
CLRVersion                     4.0.30319.42000                                                                                                                                            
WSManStackVersion              3.0                                                                                                                                                        
PSRemotingProtocolVersion      2.3                                                                                                                                                        
SerializationVersion           1.1.0.1 

code -v
$pseditor.EditorServicesVersion
code --list-extensions --show-versions
$PSVersionTable

Issue Description

I am experiencing a problem with debugging a somewhat complex (1200+ lines) powershell script that has been running for years. I updated VS Code to 1.15 and it began to terminate in the debugger with the message "Debugger process has terminated unexpectedly." I uninstalled VS Code and reinstalled the 1.14 version, but the error persists. The script runs without error in the powershell ISE. I do not see this failure with simple a powershell script.

Attached Logs

Follow the instructions in the README

VSCodeLogs.zip

about capturing and sending logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions