Index:
[thread]
[date]
[subject]
[author]
From: Brian S. Julin <bri@tull.umassp.edu>
To : ggi-develop@eskimo.com
Date: Mon, 12 Jul 1999 23:41:38 -0400 (EDT)
Re: hacking methods to find out bugs
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
Index:
[thread]
[date]
[subject]
[author]