How to know the method that hangs in .net process built on release RRS feed

  • Question

  • 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?

    I have tried WinDbg, DebugDiag, but all the threads have shown alive


    - The app is WPF App

    - The app has many background threads

    - I am using entity framework, many threads access the database, each thread has it's own context.

    - The hanging thread is the main UI thread. Other threads are working fine because they log their activities.

    Tell me if there is any other important information.

    Sunday, November 18, 2012 2:32 PM