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.
This topic is 7 years and 11 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.
User avatar
weiyen.tan@gmail.com
Posts: 55
Last visit: Fri Oct 27, 2023 10:59 pm

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
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

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 1443 times
Watch_Panel.png
Watch_Panel.png (25.38 KiB) Viewed 1443 times
Debug_Var-1.png
Debug_Var-1.png (27.99 KiB) Viewed 1443 times
Debug_Var-2.png
Debug_Var-2.png (30.7 KiB) Viewed 1443 times
DevinL
SAPIEN Technologies, Inc.
This topic is 7 years and 11 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.