Skip to content

4.3.0

Latest
Compare
Choose a tag to compare
@nohwnd nohwnd released this 14 Jun 19:53
· 1 commit to main since this release

What's Changed

  • Red message is shown at the end of the output when there was error executing the script, so it is easier to notice when the script block failed.

  • Add error detection into Tracer by @nohwnd in #68
    This will show when you turned the tracer during tracing session either on purpose or by accident and will throw an exception.

# file: break.ps1
Trace-Script { 
    Set-PSDebug -Off  
}
Run failed after 00:00:00.0168516 with the following error:
Exception calling "Unpatch" with "0" argument(s): 
"Trace was broken by: Set-PSDebug -Off from C:\t\break.ps1:3".
  • Memory is shown in megabytes, and rounded to 5 digits, this shows you tens of kilobytes, but that is okay, even the most basic PowerShell code allocates more.

Full Changelog: 4.2.0...4.3.0