www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/31/20:37:02

Date: Mon, 31 Oct 94 16:49:19 EST
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: NULL pointers in (ANSI) string functions [was: strcat() ?]
Reply-To: babcock AT cfa DOT harvard DOT edu

> I think a stack trace (or gdb exception) is the best kind of debugging
> - "It broke - HERE"

I agree that a stack trace does tell you exactly where it broke, but if the
trace were accompanied by a message "NULL pointer passed to xxxxxx", you
would know the cause a little quicker.  Whether this small advantage is worth
the trouble of creating and maintaining a debugging library is questionable.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019