Windows Debugging: Info here!
A great weblog on Microsoft Advanced Windows Debugging and Troubleshooting by hardcores of Microsoft’s CPR team. Escalation Engineers from Microsoft’s Platform Critical Problem Resolution (CPR) team has been so kind enough to share their knowledge on advance debugging.
There are a lot of debugging techniques discuss here along with detail info up to the very detail of what’s really going on when Windows boot and lots more. To get started, they recommend a hefty list of tools:
The following tools are part of the “Debugging Tools for Windows” – you’ll definitely need these
http://www.microsoft.com/whdc/devtools/debugging/
- windbg
- cdb
- ntsd
- tlist
- gflags
- adplus
- UMDH
- symcheck
Sysinternals provides some great tools that we’ll be discussing
- Process Explorer
- Process Monitor
- Regmon
- Filemon
- DbgView
- Handle.exe
- Tcpview
- LiveKD
- AutoRuns
- WinObj
There are many tools contained in “MPS Reports” (MPSRPT_SETUPPerf.EXE), but I’m listing it here specifically for Checksym
- Checksym
“Windows Server 2003 Resource Kit Tools” is another great set of tools. In particular Kernrate is a part of that package
- Kernrate
Windows XP SP2 Support Tools
- netcap
- poolmon
- memsnap
- tracefmt
- tracelog
- tracepdb
- depends
- pstat
“Visual Studio “ – in addition to the compilers and IDE, the following tools come in handy:
- SPY++
- dumpbin
Perfwiz (Performance Monitor Wizard)
DebugDiag
http://www.iis.net/handlers/895/ItemPermaLink.ashx
Userdump (User Mode Process Dumper)
Dheapmon (Desktop Heap Monitor)
Netmon 3.0
- Go to http://connect.microsoft.com/
- Sign in with your passport account
- Choose “Available Connections” on the left
- Choose “Apply for Network Monitor 3.0” (once you’ve finished with the application, the selection appears in your “My Participation” page)
- Go to the Downloads page (On the left side), and select the appropriate build 32 or 64 bit build.
Some articles you may find useful:
Debugging Tools and Symbols: Getting Started
http://www.microsoft.com/whdc/devtools/debugging/debugstart.mspx
Boot Parameters to Enable Debugging
http://msdn2.microsoft.com/en-us/library/ms791527.aspx
How to Generate a Memory Dump File When a Server Stops Responding (Hangs)
http://support.microsoft.com/kb/303021/