On 8 Apr 2000, Lars Clausen wrote:
> On 08 Apr 2000, [EMAIL PROTECTED] wrote:
> > I've started work on the Polygon standard object. It's in CVS, but
> > unstable as hell (shouldn't disturb any other work, though). I'd like to
> > hear what other people have used to debug objects/* crashes -- I can't
> > seem to get GDB to understand the dynamic libraries, and message_warning
> > wouldn't even work, so I had to resort to inserting sleep() statements
> > and time it to see where things went wrong. But somehow the sleep()s
> > removed the bug (spooky).
>
> D'oh! 'Nuff said.
>
> Still other bugs around, though. It's not useable in any sense. And I'm
> still curious what you guys use for debugging.
I use gdb, then i place a breakpoint at the debug_break() function (in
app_procs.c) and run. That function is called after all libraries are
opened, so after that break you can place breakpoints in your code.
/ Alex