Search

PS v3 ISE: progress bars disappear while debugging by johndog

Active

3
0
Sign in
to vote
Type: Bug
ID: 769328
Opened: 10/31/2012 10:02:50 AM
Access Restriction: Public
0
Workaround(s)
0
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.
Details (expand)
How often does this happen?
Always Happens

Have you seen this problem before in this product?

No, this is new to the most recent version
Reproduction Steps
1) Put a breakpoint on line two ("hello") of the following script:

write-progress -activity "activity" -percentcomplete 0 -id 1 -status "start"
"hello"

2) Run the script
3) When the breakpoint hits, enter any command in the command window (e.g. "$args")

Result: Progress meter vanishes
Expected Results
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.
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.