Page 1 of 1

expanding objects in Variables window

Posted: Thu Aug 31, 2017 7:45 am
by davestiff
The Variable Explorer in PowerGUI (remember that application?) allows Objects to be expanded for easy viewing. You can drill down to see exactly what you want from large XML or JSON objects.

Currently PowerShell Studio has one line per variable and does not allow for expanding. This makes viewing Objects very difficult.

Yes, you can go to the Debug Console and see the variable but that could be several pages scrolling by.

Thanks!

Re: expanding objects in Variables window

Posted: Thu Aug 31, 2017 8:27 am
by davidc
You can expand variables using the Variables Panel when debugging. The Watch panel is the exception, because it only displays the result of the specified expression.

Currently the variable panel only goes down a few levels deep, but we intend to improve this by allowing users to dig down deep (on demand) without causing a large data collection over head when you hit a breakpoint. Stay tuned.

Thank you for your feedback!

Re: expanding objects in Variables window

Posted: Thu Sep 14, 2017 1:40 pm
by datacore.glenn
I'm late to the party on this thread but I'd like to add that currently (v5.4.143) if a variable is expanded in the Variables Panel, then it collapsed again when the next breakpoint is hit. In fact, the whole Variables Panel view resets.

It would be more useful if the view state and focus were maintained between steps.

Regards,
Glenn