0
kicks
How to debug crashes and hangs
At my job on the C# IDE QA team I've learned some useful things about debugging in Visual Studio, which I'd like to summarize in this post:
Turning off "Enable just my code"
Attaching the debugger using Tools | Attach To Process
Selecting Managed, Native for mixed-mode debugging or Enable unmanaged code debugging
Attaching to multiple processes
Selecting processes and threads
Breaking on first-chance exceptions using the Debug | Exceptions dialog
Picking the right thread
Loading symbols
Viewing the call stack
Saving the minidump file