Re: [DEBIGGING] Infinite Loops

From: Mark A. Heilpern (heilpern@MINDSPRING.COM)
Date: 10/19/98


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


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