This recent change was kicked off by one of our customers, who wanted to see ‘Write-verbose’ messages when debugging or testing, but not in production. We assumed that the same is probably true for ‘Write-Debug’ messages. It makes perfect sense…
Read More
Warning: This article is heavily laced with pop culture references and general silliness.
The PowerShell Studio v5.6.161 service release allows you to modify variables in the Variables and Watch panels when you are at a breakpoint. Many of you…
Read More
I’m not a professional tester, but I am an expert at making mistakes. I take risks. I try everything. I gravitate to “corner cases” and odd circumstances. That makes me a great amateur tester and, due to a lifetime of experience with breaking…
Read More
In the last service release v4.2.86 we introduced some new enhancements to help improve your debugging experience.
New Variables Panel Context Menu
We added a new context menu to the Variables Panel that allows you to:
Add To Watch…
Read More
PowerShell Studio now makes it easier to debug and run your module projects. You now have the ability to execute and debug a module project directly from the IDE (Supported in PowerShell Studio 2012 v3.1.9 and up).
Debugging a module…
Read More
Debugging a simple script with a few lines is not a big deal, hit debug and step through it. Almost any PowerShell related editor can do that today. But what if you need to debug a complete system of scripts…
Read More
Yes you can!
Just make sure you run PowerShell ONCE before installing PrimalScript. Some of the PowerShell assemblies are not available in the GAC before it runs at least once.…
Read More
In my script and function development, I often add the line $DebugPreference="SilentlyContinue" to the beginning of my code. Throughout the script I add lines using Write-Debug that tell me what the script is doing or the value of a particular…
Read More
While developing the PowerShell debugger for PrimalScript 2007 we tested with a large number of scripts. Pretty much anything we could lay our hands on. The following script was one of them.
function AreArraysEqual($a1, $a2) {
$enum1 = $a1.GetEnumerator()…
Read More