expanding objects in Variables window

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
Locked
User avatar
davestiff
Posts: 5
Joined: Tue Dec 06, 2016 7:01 am

expanding objects in Variables window

Post by davestiff » Thu Aug 31, 2017 7:45 am

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!

User avatar
davidc
Posts: 5336
Joined: Thu Aug 18, 2011 4:56 am

Re: expanding objects in Variables window

Post by davidc » Thu Aug 31, 2017 8:27 am

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!
David
SAPIEN Technologies, Inc.

User avatar
datacore.glenn
Posts: 30
Joined: Mon Apr 09, 2012 1:45 am

Re: expanding objects in Variables window

Post by datacore.glenn » Thu Sep 14, 2017 1:40 pm

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

Locked