Skip to content

Not all properties are displayed during debug in the Variable panel #821

Closed
@mrboring

Description

@mrboring

System Details

  • Operating system name and version: Windows 7 x64 [6.1.7601]
  • VS Code version: 1.12.2
  • PowerShell extension version: 1.2.0
  • Output from $PSVersionTable:
    PSVersion 5.1.14409.1005
    PSEdition Desktop
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    BuildVersion 10.0.14409.1005
    CLRVersion 4.0.30319.42000
    WSManStackVersion 3.0
    PSRemotingProtocolVersion 2.3
    SerializationVersion 1.1.0.1
Copy / paste the below commands into the PowerShell Integrated Terminal, and paste the output here

code -v
1.12.2
19222cdc84ce72202478ba1cec5cb557b71163de

$pseditor.EditorServicesVersion
Major  Minor  Build  Revision
-----  -----  -----  --------
1      2      0      0

code --list-extensions --show-versions
ajhyndman.jslint@1.2.1
ms-vscode.PowerShell@1.2.0
saviorisdead.Theme-GitHubCleanWhite@0.0.3

$PSVersionTable
PSVersion                      5.1.14409.1005
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1005
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

I have the following code:

Clear-Host

$x = Get-ChildItem -Path C:\Miscellaneous

$x

I set a breakpoint on the $x line. In the Variables panel I expanded the $x variable. For each entry the following properties are missing:
PSPath
PSParentPath
PSChildName
PSDrive
PSProvider
PSIsContainer
Mode
BaseName
Target
LinkType

The following properties are displayed:
Name
Parent
Exists
Root
FullName
Extension
CreationTime
CreationTimeUtc
LastAccessTime
LastAccessTimeUtc
LastWriteTime
LastWriteTimeUtc
Attributes

Attached Logs

I tried to attach the log, but was continually told that We don’t support that file type. Strange as it was created Send to > Compressed (zipped) folder. I can expand it with 7-zip.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions