September 23rd, 2011


Well, I think I've tracked down what the problem with debugging my application is. Microsoft has decided to help me out.

See, if an application does bad things in Windows 7 or Windows Server 2008 R2, it gets put into the penalty box of using the Fault Tolerant Heap. Well, I've been running my applications under the Visual Studio 2005 debugger on Windows Server 2008 R2. The reason I'm doing this is -- surprise! -- they have bugs. They have crashed, which is what I expected would happen, which is why I'm trying to debug them.

But now, Microsoft has thoughtfully put my applications into the penalty box. This means that they run about 20 to 30 times slower than they normally would. This makes them essentially impossible to debug.

There are numerous methods for disabling the Fault Tolerant Heap either in toto or for particular applications on Windows 7. These methods don't appear to work on Windows Server 2008 R2.

I am not happy.