Re: [CODE] Freeze error, GDB and .c output, please help.:)

From: Sammy (Samedi@cris.com)
Date: 01/25/97


On Fri, 24 Jan 1997, Daniel Koepke wrote:

- My point is, that 'gdb' can be quite a useful tool, but most of the time
- it will only point you in the general direction, and other times it will
- do absolutely nothing for you, and still other times it will give you the
- answer right out.  It is a coder's best friend, true, but it's not the
- most reliable of friends.  Take what it gives you for what it's worth, and
- not as the absolute truth.

I strongly disagree :)

Ever since I started learning to use the step command, there hasn't been a
bug, crashbug or otherwise, that I haven't been able to track down with
gdb.  It's really cut down on my debugging time.  Instead of the normal
10% coding, 90% debugging, it's more like 50-50 now :)

I only wish I could explain my techniques better, but I can't stress
enough how useful break, print, and step are if you only learn those three
commands.

Without gdb, changing the pfiles, rent files, mail files, and board files
to ascii would have taken months rather than days, if I had the patience
to finish them

Sam

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST