Run-time variables pane for Power Shell Studio 2012?
Forum rules
Do not post any licensing information in this forum.
Do not post any licensing information in this forum.
Run-time variables pane for Power Shell Studio 2012?
This is something that I really like in the PowerGUI Script Editor. They have a pane which displays all of the variables and their values when your script is run. It's sometimes very convenient to use when you have a multi-dimensional arrays, complex objects, or hashtables. Rather than sleuthing though output via the command line, its sometimes really nice to just graphically drill your way through the properties of a variable. If you haven't seen this before, I've attached a screenshot.
- Attachments
-
- runtimeVariablesPane.png (23.95 KiB) Viewed 8356 times
- Ferdinand Rios
- Posts: 373
- Last visit: Fri Sep 16, 2022 1:24 pm
Re: Run-time variables pane for Power Shell Studio 2012?
Do you mean like this?
Set a breakpoint in your script, select DEBUG FILE, and when you hit your breakpoint, all of the variables that are within the current scope will be seen in the Variables pane.
Set a breakpoint in your script, select DEBUG FILE, and when you hit your breakpoint, all of the variables that are within the current scope will be seen in the Variables pane.
F.G. Rios
Re: Run-time variables pane for Power Shell Studio 2012?
Yes, that works to some extent but this is still limited when compared to the persistent pane which PowerGUI provides. Here's an example showing how PowerGUI can display all of the items in a hashtable whereas PowerShell Studio does not. See the attached screenshots:
- Attachments
-
- This DOES show the contents of the hashtable.
- PowerGUIVariablesPane.png (18.86 KiB) Viewed 8315 times
-
- Does not show the content of the hashtable.
- PowerShellStudioVariablesPane.png (44.75 KiB) Viewed 8315 times
- Ferdinand Rios
- Posts: 373
- Last visit: Fri Sep 16, 2022 1:24 pm
Re: Run-time variables pane for Power Shell Studio 2012?
I will make sure that our dev team takes a look at that.
Thank you for your input.
Thank you for your input.
F.G. Rios
Re: Run-time variables pane for Power Shell Studio 2012?
Thanks! You guys are always super-responsive.
Re: Run-time variables pane for Power Shell Studio 2012?
This would be great. I love PowerShell Studio, but I still use PowerGUI for debugging more complex code because it is more granular in the output when stepping through.
Cheers
Cheers