Category Archives: Debugging

How to stop the CLR optimizing your variables during a debug session

Finally decided to see if there was something I could do to stop the CLR optimizing away all the variables when I want to remote debug an application. This seems to have the answer, http://blogs.msdn.com/tom/archive/2008/05/09/getting-more-information-from-clrstack.aspx Essentially, create an myfile.ini for … Continue reading

Posted in Debugging | Leave a comment

Remote debugging – value as being optimized

Surley one of the most annoying problems with remote debugging is after finally getting a connection, the correct pdb’s, the correct source and a breakpoint hit you examing the values to be faced with a big red cross saying the … Continue reading

Posted in Debugging | Leave a comment

Debugging when classic ASP calls into .net

Breakpoints not firing when called from COM+? A collegue was having trouble debugging some .net code that was called from classic ASP code. After getting over the initial problems of making sure that the source code matched the binary files … Continue reading

Posted in Debugging | Leave a comment

Remote Debugging using Visual Studio 2003

I got into one of those situations when I need to debug a bit of software of a server but I couldn’t install Visual Studio. So for the first time I stepped into the world of remote debugging. It was … Continue reading

Posted in Debugging | Leave a comment