Skip to content

References CodeLens is causing a crash due to range exception #887

Closed
@johlju

Description

@johlju

System Details

  • Operating system name and version: Windows 10
PS> [System.Environment]::OSVersion.Version

Major  Minor  Build  Revision
-----  -----  -----  --------
10     0      15063  0
  • VS Code version: 1.13.1
  • PowerShell extension version: 1.3.2
  • Output from $PSVersionTable: See below

$pseditor.EditorServicesVersion does not work since PowerShell Integrated Terminal i crashing.

PS > code -v
1.13.1
379d2efb5539b09112c793d3d9a413017d736f89
PS > $pseditor.EditorServicesVersion
Major  Minor  Build  Revision
-----  -----  -----  --------
1      3      2      0
PS > code --list-extensions --show-versions
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
PS > $PSVersionTable

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

Issue Description

PowerShell Integration Terminal is crashing, and it seems when it tries to list the references. The lines shows, but the reference link does not popup, instead it crashes.

image

Attached Logs

logs.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions