PowerShell / PowerShell/PowerShellEditorServices

Watch evaluation sometimes ignores intermediate members

Open
#1,706 2 comments 3 reactions 1 assignee View on GitHub

@andyleejordan is already working on this.

Since Jun 2, 2022.

Area-Debugging Issue-Bug
Dominant language
C#
Stars
767
Forks
266
Avg merge
3d 16h
Merged PRs (30d)
1

Description

 $Role = [pscustomobject]@{
   DisplayName                 = 'thing'
   accessPackageResourceScopes = [pscustomobject]@{ 
     DisplayName = 'nestedthing'
   }
 }
 
 $Role
 Wait-Debugger

image

The latter watch expression should return null

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.