Home Dashboard Directory Help
Search

'Set-PSDebug -Trace 2' on Powershell V3 causes switch statements to fail to execute properly by The Unique Paul Smith


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 800246
Opened: 9/11/2013 6:31:20 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

'Set-PSDebug -Trace 2' causes unexpected results in switch statements (they seem to fail to execute entirely or are set to $null.
This issue is only seen on Powershell V3 both in Console and ISE.

Community testing can be found here on this post:
http://stackoverflow.com/questions/18721593/powershell-set-psdebug-trace-2-causes-unexpected-results

Details
Sign in to post a comment.
Sign in to post a workaround.