c# - .NET App Hangs in Release mode only, sometimes ... :-( -


In our program, you can select the document type from a list. Then you click OK, or double-click on the selected item, and a new document has been created and shown.

The problem now is that at some time, only in release mode, when you double-click an item the app is hanging you can still move windows, and all are properly repainted, But there is no answer ... when in debug mode, there is no problem ... Besides, most of the time everything works fine ??? No error information has been shown ... whatever we can do ends the process ...

How can we find out what is hanging?

In Visual Studio, process the tools to attach + and select your program. If necessary, use Debug + Windows + Threads to select threads. Debug + break all, see this call stack to see where it is deadlocked.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -