{"id":7646,"date":"2014-08-18T05:00:00","date_gmt":"2014-08-18T13:00:00","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/?p=7646"},"modified":"2014-08-16T21:57:53","modified_gmt":"2014-08-17T05:57:53","slug":"primalscript-2014-powershell-debugger-enhancements","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2014\/08\/18\/primalscript-2014-powershell-debugger-enhancements\/","title":{"rendered":"PrimalScript 2014 PowerShell Debugger enhancements"},"content":{"rendered":"<p>PrimalScript 2104\u2019s PowerShell Debugger has received a minor update with build 7.0.44.<\/p>\n<p>The variables window now shows the actual .NET type of the underlying variable in a separate column.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2014\/08\/image12.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2014\/08\/image_thumb8.png\" alt=\"image\" width=\"640\" height=\"274\" border=\"0\" \/><\/a><\/p>\n<p>In addition to that you can also see array data. If you look closely at the screenshot above you see a \u201c[\u2026 Click to see array values \u2026] for the variable called \u201cmyArray\u201d.<br \/>\nClicking on that will retrieve the first 20 items in this array.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2014\/08\/image13.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2014\/08\/image_thumb9.png\" alt=\"image\" width=\"640\" height=\"274\" border=\"0\" \/><\/a><\/p>\n<p>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.<\/p>\n<p>But don\u2019t 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.<\/p>\n<p>If you use hashtables in your code, as shown below, you will also be able to see the underlying data in the variables window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2014\/08\/image14.png\" alt=\"image\" width=\"372\" height=\"114\" border=\"0\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2014\/08\/image15.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2014\/08\/image_thumb10.png\" alt=\"image\" width=\"640\" height=\"274\" border=\"0\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PrimalScript 2104\u2019s 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 \u201c[\u2026 Click to see array [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[410,624,21,25],"tags":[67,193,28,37,918,237],"class_list":["post-7646","post","type-post","status-publish","format-standard","hentry","category-primalscript-software-news","category-service-build","category-software-news","category-windows-powershell","tag-array","tag-debugger","tag-powershell","tag-primalscript","tag-type","tag-variables"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/7646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=7646"}],"version-history":[{"count":2,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/7646\/revisions"}],"predecessor-version":[{"id":7648,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/7646\/revisions\/7648"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=7646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=7646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=7646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}