[lazarus] lazarus debuging???

matooo at email.si matooo at email.si
Sun Dec 22 16:24:47 EST 2002


What is the simplest way to debug lazarus?

GTK2 interface is finished and it compiles without problem. Most of the
interface shows up properly (at least all controls are antialiased so it has to
be GTK2 :-), except that sometimes after app is almost completely drawn, app
crashes.

As I debuged with gdb it crashes when applying region to DC (getmem tried to
allocate really big figure of memory when calling gdk_region_intersect). But I
wasn't able to figure out wich control has uninitialized ClipRegion.

Suggestions or help with debugging are welcome.

By the way, would it be possible for lazarus to check if edited file is a
symlink or real file. Sometimes I edit symlinked files and lazarus overwrites
them with a new file (doesn't follow symlinks). 

m.

-------------------
http://www.email.si






More information about the Lazarus mailing list