> > At 08:30 PM 10/17/98 +0200, you wrote: > >My mud is getting caugth into endless loops, and i dont know how to track > >them down! > >Does anyone have any ideas? > > > > If you're on linux/unix, start the mud under GDB and hit control-C when > you're in your endless loop. Then use the "backtrace" command to see where > you are. (You can also use GDB to break into an existing mud process, "gdb > bin/circle <process id number>"). Good, i'm running GDB under linux, but what does 'break into an existing mud process' mean ? Does the mud create child processes? and how do i see their id's , the top command and ps don't show them... > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | > +------------------------------------------------------------+ > +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST