Re: Core Dumps

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 10/15/97


On Wed, 15 Oct 1997, Akuma/Chris Baggett/DOOMer wrote:

>ok, (not to insult your intelligence nor mine, and i doubt you meant
>to do that) i know the CORE file is lib/ not bin/
>i have been checking in lib/ not bin/

Well, in practice, when all else fails, ask the stupid questions.
(Is it plugged in?, etc) No insult intended.

cat << EOF | gdb bin/circle
run
bt
quit
EOF

That should:
a) invoke gdb
b) run the mud
c) backtrace the stack when it crashes
d) exit gdb to continue autorun

Other handy things:
'info locals'
'dir src'
`handle` command in general

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/08/00 PST