tobold.org

correct • elegant • free

△ Comp.lang.c △

◅ fopen doesn't open!

loop terminaters and efficiency/style ▻

Bug Hunt Help!

In article <3fe84h$dtt@cville-srv.wam.umd.edu>, The Internet
Surfer <hieule@wam.umd.edu> wrote:
>How do I debug this problem using a unix debugger or any other technique? I've
>tried to do it by hand but no luck.

The `watch' command in gdb is very useful for tracking down where a
variable is being stomped on.

Tim.
--
Tim Goodwin        | "System V wasn't going to go away just because POSIX
Public IP Exchange | said so.  (More's the pity.)" -- Henry Spencer

Original headers:

From: tim@pipex.net (Tim Goodwin)
Newsgroups: comp.lang.c
Subject: Re: Bug Hunt Help!
Date: 17 Jan 1995 17:29:14 -0000
Organization: PIPEX, 216 Science Park, Cambridge, England
Message-ID: <3fgupa$ad0@pipe.pipex.net>
References: <3fe84h$dtt@cville-srv.wam.umd.edu>

△ Comp.lang.c △

◅ fopen doesn't open!

loop terminaters and efficiency/style ▻