Debug Recipes
It is a repository of my field notes collected while debugging various .NET application problems on Windows (mainly) and Linux. They do not contain much theory but rather describe tools and scripts with some usage examples.
The
I hope you will find the materials helpful. 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.
Tools & techniques
Troubleshooting
Application execution problems
- Exceptions and Windows errors
- Network connectivity problems
- Managed memory leaks
- Monitoring CPU usage (on- and off-CPU time)
- (Dead)locks
- Assembly loading issues
Database connectivity
πΎ Debugging ADO.NETπΎ Tracing MySql connector
.NET Web Applications
System
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 |
IIS
πΎ Troubleshooting IIS7+πΎ Troubleshooting IIS6πΎ Troubleshooting IIS Express