Tag:debugging
All the articles with the tag "debugging".
The best debugging technique - inverse breakpoint
Using Debugger.Launch and Debugger.Break in C# code to attach a debugger to hard-to-reach processes like Visual Studio plugins.
Read more…PowerShell 3 bug with stack trace
PowerShell 3 shows incorrect line numbers in stack traces when CmdletBinding and ErrorActionPreference are combined; trap workaround included.
Read more…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.
Read more…Remote debugging over TeamViewer
Step-by-step guide to setting up Visual Studio remote debugging over a TeamViewer VPN connection.
Read more…WCF _ useless ProtocolException
WCF ProtocolException truncates the server error response; an extension method on WebException extracts the full response body.
Read more…[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.
Read more…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.
Read more…WTF Exception.ToString() and FaultException
FaultException inner details are silently dropped by Exception.ToString(); an extension method restores the full fault message.
Read more…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.
Read more…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.
Read more…