Using windbg with c# dump files.
Setup symbol server source. Run the following two commands in powershell.
Install-Module -Name WintellectPowerShell -Scope CurrentUser
At this point I had to restart my computer before windbg would pick up the symbol servers. Restarting windbg was not enough.
If loading 64bit dump of 32 bit .net process use soswow64.
Open windbg x86 -> Load dump file
Make sure correct sos symbols are loaded. You can accomplish this by running the analyze command.
#.cordll -ve -u -l
.loadby sos clr
# list all threads, high counts list threads that are running a lot
# replace X with the thread number
# Can only be called after calling ~Xs
# Check method parameters