Debug Recipes
This is a repository of my notes collected while debugging various .NET and Windows problems. You can find here commands with example usages, scripts and other debugging materials. It is still being constructed so some notes might not be finished - use on your own responsibility. Try using the project search box while looking for a particular subject.
I hope you will find them useful. Any contribution is welcome.
General advice
Make sure you have valid symbols configuration in your system. If you are debugging a .NET application you may first check the .NET debugging tips.
Troubleshooting
Applications
Choose a recipe corresponding to your application problem:
- Exceptions and Windows errors
- Memory leaks
- High CPU usage
- Wait analysis (deadlocks)
- Networking problems
- Assembly not found
- Slow database queries:
Problems in .NET Web Applications:
Databases
MS SQL Server | MySQL | |
---|---|---|
Slow queries | X | X |
Blocked requests | X | X |
Indexes problems | X | X |
I/O problems | X | |
Server problems | X | X |