I have a WPF application that is hanging on one user’s machine. Other users aren’t affected. The app hangs both running natively out of the development environment and whilst running under debug. The problem can be reproduced reliably – it simply hangs whatever the user attempts to do. Running under debug offers no clues, no exception is thrown, the app simply stops responding.
What options do I have for debugging this? Are there any external tools – things like sysinternals suite for example – that can help? Are there any Visual Studio debugger tricks or tips that might provide a bit more info?
Yes, you can use mdbg.exe to attach to the hanging process (a PID) and when you are there press w to see the stack trace.
btw. the hanging could possibly be caused by the corrupted font cache so before you try the mdbg try to find the instruction on how to clear the WPF’s font cache.