Home Dashboard Directory Help
Search

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


Status: 

Active


4
0
Sign in
to vote
Type: Bug
ID: 770416
Opened: 11/7/2012 3:32:53 PM
Access Restriction: Public
0
Workaround(s)
view
2
User(s) can reproduce this bug

Description

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.
Details
Sign in to post a comment.
Sign in to post a workaround.