PowerShell Studio 2015: Enhancements for Debugging

July 13th, 2015 by David Corrales
Last updated on July 9th, 2015

 

In the last service release v4.2.86 we introduced some new enhancements to help improve your debugging experience.

 

New Variables Panel Context Menu

image

We added a new context menu to the Variables Panel that allows you to:

  • Add To Watch – Adds the selected variable to the Watch Panel.
  • Query in Debug Console – Runs the variable in the Debug Console, so that you can inspect the variable. If you select a property, then the variable’s property will be queried in the Debug Console.
  • Copy – Copies the cell contents to the clipboard.

New Watch Panel Context Menu

image

We also added a context menu to the Watch Panel that allows you to:

  • Copy – Copies the cell contents to the clipboard.
  • Select All– Selects all the watch variables.
  • Query in Debug Console – Runs the watch expression in the Debug Console.
  • Remove Watch Item – Removes the select expression from the Watch Panel.
  • Remove All – Removes all the expressions from the Watch Panel.

 

Adding Watch Expression via Editor

You can now use the editor’s context menu to add variables to the Watch Panel.

clip_image008

If you use the “Add To Watch” command on a property or method of a variable, it will include the whole statement.

clip_image010

You can also use the new “Run Selection in Debug Console” command via the editor’s context menu to run the selection in the Debug Console.

 

Debug Console

Submitted commands are now displayed in the output window of the Debug Console:

SNAGHTML51f45e

 

We hope that these enhancements will help improve your debugging experience.

If you have any suggestions or feature requests, please share them with us on our Wish List and Feature Requests forum.

 

 
[Google+]   [Facebook]   [LinkedIn]   [StumbleUpon]   [Digg]   [Reddit]   [Google Bookmark]  

Tags: , , , ,