I am trying to debug a program that shuts down unexpectedly. When I say "off, I mean one moment, I see that all windows are displayed, each of which shows all the necessary data, and then all the windows suddenly disappear. There are no messages reporting anything wrong. So I tried to start the program in the debugger, hoping that it somehow will catch everything that caused the program to cancel, but even inside the debugger the program simply ends abruptly. Last line in the debugger:
The program '[5500] test.exe: Native' has exited with code 0 (0x0).
My program, which is extremely large and extremely old, has a lot of self-diagnosis. My suspicion is that the self-test may have failed, and maybe I just called exit (), forgetting to set up a dialog explaining why.
Now my question is: how can I find out from which point in the code my program is completed?
c ++ debugging visual-studio-2008 visual-studio
Mick
source share