GUI panel for debugging

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
weiyen.tan@gmail.com
Posts: 55
Joined: Wed Apr 09, 2014 2:06 am

GUI panel for debugging

Post by weiyen.tan@gmail.com »

Product, version and build: 5.2.119
32 or 64 bit version of product: 64 bit
Operating system: Windows 10
32 or 64 bit OS: 64
PowerShell Version: 5

I was wondering whether PowershellStudio has a panel to show debug information on say a variable. I know that I can break into the debug console from a breakpoint but I thought that I could see a gui panel that breaks the various variables down.

Thanks.

DevinL
Site Admin
Posts: 1098
Joined: Mon Aug 17, 2015 2:25 pm

Re: GUI panel for debugging

Post by DevinL »

Here are three easy ways you can view the value of variables during debugging:

1) Add the variables you wish to track to the Watch Panel by right clicking on the variable and selecting Add To Watch and then you can observe the values that way.
2) While you're at a breakpoint, if you mouse over a variable it displays the contents of that variable in red.
3) After debugging, you can mouse over a variable and it will display the last known contents of that variable.
Add_To_Watch.png
Add_To_Watch.png (60.79 KiB) Viewed 905 times
Watch_Panel.png
Watch_Panel.png (25.38 KiB) Viewed 905 times
Debug_Var-1.png
Debug_Var-1.png (27.99 KiB) Viewed 905 times
Debug_Var-2.png
Debug_Var-2.png (30.7 KiB) Viewed 905 times
DevinL
SAPIEN Technologies, Inc.