Visual Studio 6 - Application suddenly dies leaving no error messages
Some weeks ago I made some modifications to an old "Visual C++ 6" multi-threaded application. Since then, the application randomly disappears from the screen without leaving any error messages (not even in the event viewer). I am in big trouble and dont开发者_如何学Python know how to find the problem.
The code was written with try/catch to catch every exception, and for years I've been able to trace my programming mistakes thanks to exception messages and the like. It's the first time I see my application die with no error messages.
Could somebody please give me a tip
Run your program attached to the debugger and debug it. Assuming that doesn't work,
- Using your source control system, revert to a "known good" version.
- Perform a binary search through the changes made since that version to find the offending change, or, if you are unable to do this, start making the changes one at a time until you find the problem.
精彩评论