Index: [thread] [date] [subject] [author]
  From: Kien Pham <xengren@yahoo.com>
  To  : ggi-develop@eskimo.com
  Date: Mon, 12 Jul 1999 22:19:32 -0700 (PDT)

Re: hacking methods to find out bugs

--- "Brian S. Julin" <bri@tull.umassp.edu> wrote:
> On Mon, 12 Jul 1999, Peter Amstutz wrote:
> > somefunction(...) {
> > 	/* some possibly buggy code */
> > 	printf("Checkpoint #1\n");
> > 	/* more possibly buggy code */
> > 	printf("Checkpoint #2\n");
> > 	/* even more possibly buggy code */	
> > 	printf("Checkpoint #3\n");
> > }
> 
> Note the \n is important in some cases -- it flushes a
> line-mode
> tty output stream, so if you leave it off, you may think
> your
> segfault is occuring earlier than it actually is.
> 
> --
> Brian
I haven't really been following this thread, but how about
stepping through the code with a debugger?
                                                           
                           ~K.P.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Index: [thread] [date] [subject] [author]