Debugging VS extension

March 30, 2012 at 10:16 AMalex

Read on how to debug VS extensions easily: http://donovanbrown.com/post/How-to-debug-a-Visual-Studio-Extension.aspx

Posted in: BlogEngine.NET | Development

Tags:

Drill Into .NET Framework Internals to See How the CLR Creates Runtime Objects

March 15, 2012 at 10:22 AMalex

Posted in: Development

Tags:

Making dumps on Windows x64

March 1, 2012 at 4:35 PMalex

Never take a 64-bit dump of a WOW64 application. If you're on Windows x64, actually BY DEFAULT you'll be taking a 64-bit dump; so to take a correct 32-bit dump you have to manually start the 32-bit task manager (C:\Windows\SysWOW64\taskmgr.exe).

Otherwise half the functionality of WinDBG will not work, even with !wow64exts.sw. For example, you will be able to do !threads, but not !clrstack; !dumpheap -stat but not !gcroot.

Example error message (same as at http://stackoverflow.com/questions/6914291/how-do-i-debug-around-module-overlap-in-windbg-using-sos):

WARNING: MSVCR100_CLR0400 overlaps clr
...
The version of SOS does not match the version of CLR you are debugging.  Please
load the matching version of SOS for the version of CLR you are debugging.
CLR Version: 10.0.30319.1
SOS Version: 4.0.30319.235

Posted in: Development

Tags: