How can I break right when the program I am debugging quits? I don't know how to even locate the relevant code.


Set a break on TerminateProcess and friends when it breaks see the call stack and backtrack from there

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.