Archive

Posts Tagged ‘Debugging’

.NET Debugging Tips

November 18, 2009 rajanpatel Leave a comment

Useful series of articles for helping diagnose runtime .NET issues around performance, threads, hangs and memory leaks.

.NET Debugging Demos Lab

Categories: Development Tags:

Dump the Stack Trace for a running Windows Process

November 9, 2009 rajanpatel Leave a comment

Ever wanted to dump the stack for all threads for a running Win32 process then follow this guide:

Getting Stack Traces of a Running .NET Process

This suggests using ntsd.exe – so to interpret results:

Categories: Development Tags:

Fixing Visual Studio 2003 Debugging after installing Studio 2008

October 26, 2009 rajanpatel Leave a comment

You know the story you have to maintain an old project written in 2003 but you have already moved ahead and have installed 2008 – but you then install 2003 and your project in 2003 no longer builds – well its because 2008 breaks all old debugging configurations – to get 2003 to debug again follow these steps:

After the upgrade the debugger in Visual Studio 2003 will be broken. This is because the "Machine Debug Service" no longer starts. To fix:

  • Start a command prompt
  • Change directory to C:\Program Files\Common Files\Microsoft Shared\VS7Debug
  • Run mdm.exe /unregserver
  • Run mdm.exe /regserver
  • Start the Machine Debug Service
Categories: Development Tags: