On Fri, 5 Apr 2013 09:51:36 -0700 (PDT), "Ramon F. Herrera"
<
gopo...@jonjay.com> wrote:
>
>I got it!
>
>It seems that I MUST be running the app under the debugger.
>
>Windows starts the debugger for you, in the proper context...
>
What actually is going on in Windows is that you have enabled a JIT
(Just-In-Time) Debugger. With Windows you assign the debugger to use
through a Registry assignment. For example, you can setup DrWatson,
WinDbg, or the VS debugger (or any other debugger) to be automatically
run when "int 3" is reported.
Many development platforms automatically assign their debugger when
you installed the product. This is what likely happened when you
installed VS.
I'm not that familar with Linux or the gcc toolkit (I've always used
3rd party platform utilities on Unix), so I'm not sure if a 'default'
JIT Debugger is available or not, or if you have to go find a special
utility, but in any case it is something that must be
setup/configured. Researching for "JIT Debugger Linux" should get you
the information you need.
But if memory serves you can always force a coredump on the signal,
then analyze that with a debugger. That would provide a snapshot of
your application at the moment the error occured.
You set that up using the "ulimit" utility.
HTH, Just wanted to amplify on how JIT Debugging works in Windows.
I'll shut-up now and let the Linux gurus join in. <g>
-ralph