PrimalScript 2104’s PowerShell Debugger has received a minor update with build 7.0.44.
The variables window now 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.
But don’t worry, we have already cooked up a better way to visualize large data items. One of the next service builds will roll out a further enhancement to this.
If you use hashtables in your code, as shown below, you will also be able to see the underlying data in the variables window.