PrimalScript: PowerShell Debugger enhancements
- Written by Alexander Riedel
- Last Updated: 19 April 2016
- Created: 18 August 2014
- Hits: 10293
PrimalScript’s PowerShell Debugger variables window shows the actual .NET type of the underlying variable in a separate column.
In addition to that you can also see array data. If you look closely at the screenshot above you see a “[... Click to see array values ...]” for the variable called “myArray”.
Clicking on that will retrieve the first 20 items in this array.
It only retrieves a maximum of 20 items for performance reasons and because this particular way of displaying the array data does not lend itself to large data sets.
If you use hashtables in your code, as shown below, you will also be able to see the underlying data in the variables window.