Tag: debugging
All the articles with the tag "debugging".
-
PowerShell 3 bug with stack trace
PowerShell 3 shows incorrect line numbers in stack traces when CmdletBinding and ErrorActionPreference are combined; trap workaround included.
-
PowerShell Set-PSBreakpoint bug in PowerShell 3_
Bug report: Set-PSBreakpoint breakpoints are not hit when the script runs in a new PowerShell 3 process.
-
Remote debugging over TeamViewer
Step-by-step guide to setting up Visual Studio remote debugging over a TeamViewer VPN connection.
-
WCF _ useless ProtocolException
WCF ProtocolException truncates the server error response; an extension method on WebException extracts the full response body.
-
[PowerShell] Built-in support for -Debug and -Verbose for your scripts
How to enable PowerShell common parameters -Debug and -Verbose in custom scripts using CmdletBinding and DebugPreference.
-
Guide how to easy screw up your git repository
A real incident where a wrong-branch git reset --hard corrupted a release branch, with recovery steps for the team.
-
WTF Exception.ToString() and FaultException
FaultException inner details are silently dropped by Exception.ToString(); an extension method restores the full fault message.
-
Repeat Debugger.Launch() in PowerShell
Shows how to set a named breakpoint in PowerShell profile using Set-PSBreakPoint so scripts can trigger the debugger inline.
-
Firebug Lite 1.4 fails in IE7
Describes a critical bug in Firebug Lite 1.4 on IE7 and provides a bookmarklet to use the stable 1.3 version instead.
-
Debug minified_obfuscated javascript
Shows how to pretty-print and debug minified or obfuscated JavaScript in IE9+, Chrome 13+, and Firefox using built-in or plugin tools.