I have the dump files of a .net process that hangs in an unknown location. I need to know the method where the hang is occurring. The application is very complex with many threads, and the hang occurs randomly.
When it happens on my machine or the client’s machine I have tried to attach visual studio, but I couldn’t get to the hanging method. Are there any tools to investigate the problem in the dump files?
EDIT
The hanging thread is the main UI thread. Other threads are working because they log their activities.
Since you already have memory dumps, you can analyze them with Windbg. For a great tutorial on using Windbg to diagnose hangs, refer to Tess Fernandez’s blog here.
If this is an app you have built, you should build the Release configuration with debug symbols as well. This can help greatly down the road when debugging situations like this.