Michael Van Canneyt wrote:


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 ?

IIRC, we were talking about debugging from gdb and not from lazarus :)

It's a real FAQ, so adding this checkbox makes sense, IMHO...

When debugging in lazarus, and that checkbox is there :)

Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to