Two spaces plus breakpoint can crash ISE in certain conditions - by SteveLarson-W

Status : 


Sign in
to vote
ID 770416 Comments
Status Active Workarounds
Type Bug Repros 3
Opened 11/7/2012 3:32:53 PM
Access Restriction Public


The following code will soft crash the ISE if a breakpoint is on any line 1-3:
  $temppso = New-Object PSObject -Property @{
DistanceUnit = "Miles"
$temppso # returns object

However, it will work as expected without the breakpoint on any line 1-3 OR without the two (or more) spaces at the front of line 1.
Sign in to post a comment.