Re: Capturing Infinite Loops

From: George Greer (greerga@circlemud.org)
Date: 06/17/02


On Mon, 17 Jun 2002, Mythran wrote:

>So, my mud goes into infinite loops sperratically sometimes.  So far, I
>have been unsuccessful at tracking down this darn bug.  Anyone have any
>ideas on how to capture infinite loops?

Doing a 'backtrace' in GDB when the infinite loop timer tick goes off
should show you where, if not why.  If you're not on Unix, then you'll have
to find some other method to catch them and invoke the debugger.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT