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.
This topic is 6 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
davestiff
Posts: 5
Last visit: Wed Aug 29, 2018 6:24 am

expanding objects in Variables window

Post 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!
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: expanding objects in Variables window

Post 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!
David
SAPIEN Technologies, Inc.
User avatar
datacore.glenn
Posts: 30
Last visit: Fri Jan 11, 2019 1:31 pm

Re: expanding objects in Variables window

Post 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
This topic is 6 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked