On Wed, 14 Dec 2005, Marc Weustink wrote:
Felipe Monteiro de Carvalho wrote:
Andrew Haines wrote:
and then at the (gdb) prompt: run --g-fatal-warnings
(gdb) run --g-fatal-warnings
Starting program: /home/felipe/Programação/Lente/magnifier
--g-fatal-warnings
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xffffe000
Detaching after fork from child process 4691.
TApplication.HandleException [FATAL] file gdk-pixbuf-drawable.c: line 1109
(gdk_pixbuf_get_from_drawable): assertion `dest_x == 0 && dest_y == 0'
failed.
Ah, to let gdb stop on exceptions, add (once) the following breakpoint before
running:
br FPC_RAISEEXCEPTION
Shouldn't you add a 'Stop on Language exceptions' checkbox as in Delphi,
which automatically does this when debugging a program ?
It's a real FAQ, so adding this checkbox makes sense, IMHO...
Michael.