Windows PowerShell Home
PS v3 ISE: progress bars disappear while debugging
10/31/2012 10:02:50 AM
User(s) can reproduce this bug
If you run a script that displays a progress bar, stop on a breakpoint and run a command, the progress bar disappears.
How often does this happen?
Have you seen this problem before in this product?
No, this is new to the most recent version
1) Put a breakpoint on line two ("hello") of the following script:
write-progress -activity "activity" -percentcomplete 0 -id 1 -status "start"
2) Run the script
3) When the breakpoint hits, enter any command in the command window (e.g. "$args")
Result: Progress meter vanishes
State of the progress bar shouldn't go away; it is part of the debuggee state and may even be the subject of debugging itself.
to post a comment.
Please enter a comment.
to post a workaround.
Please enter a workaround.
© 2014 Microsoft