views:

11

answers:

0

Hello, I would like to know how to prevent my application from being restarted when it crashes (an intentionnal segfault in an assertion)

Is it related to debugging environment? (I have VS 2008 installed) is there a registry key or something to NOT reload apps after a crash?

Thanks in advance

EDIT: While searching for an answer I came across DebugBreak() method, which seems to be a clean way to do what I want to do, stop the application, and allow to have the backtrace while debugging.