[lazarus] lazarus debuging???

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Dec 22 18:22:42 EST 2002


On Sun, 22 Dec 2002 22:33:07 +0100 (CET)
matooo at email.si wrote:

> What is the simplest way to debug lazarus?

gdb is quite simple for me.


> 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.

Want to have. Plz send me the patch, so we can all help you debugging.



> 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). 

I added it to my ToDo list.


Mattias






More information about the Lazarus mailing list