How can I debug a win32 process that unexpectedly terminates silently?

Posted by Matthew Xavier on Stack Overflow See other posts from Stack Overflow or by Matthew Xavier
Published on 2008-12-18T16:20:59Z Indexed on 2010/05/13 9:14 UTC
Read the original article Hit count: 197

Filed under:
|
|
|

I have a Windows application written in C++ that occasionally evaporates. I use the word evaporate because there is nothing left behind: no "we're sorry" message from Windows, no crash dump from the Dr. Watson facility...

On the one occasion the crash occurred under the debugger, the debugger did not break---it showed the application still running. When I manually paused execution, I found that my process no longer had any threads.

How can I capture the reason this process is terminating?

© Stack Overflow or respective owner

Related posts about winapi

Related posts about c++