From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Common Error/Exception Handler
Date: 1996/05/10
Date: 1996-05-10T00:00:00+00:00 [thread overview]
Message-ID: <Dr7IGt.GxM@world.std.com> (raw)
In-Reply-To: Dr6x9B.5LA@bton.ac.uk
In article <Dr6x9B.5LA@bton.ac.uk>, John English <je@bton.ac.uk> wrote:
>Hmm, I'm starting to confuse myself with versions. I'm running 3.03
>under Linux and 3.01 under NT at home, 3.01 and 3.03 on the Suns and
>Alphas at work, and 2.07 on the PCs in our student labs. Since it's
>usually students who come to see me with unhandled exception problems
>(*I* never get into these pickles... :-) that would explain it. So,
>oops, I stand corrected. And hopefully in some future version the
>file name and line number will be provided too...
To really get any useful information, you have to go into gdb. File
name and line number are nice, but you *really* want a stack trace-back.
I'm not a big fan of hacking around in debuggers, but a stack trace-back
seems like a minimal amount of useful information. For example, I
sometimes have a procedure called Validate(X), which raises an exception
if there's something wrong with X. I don't just want to know where in
Validate it failed -- I want to know which call to Validate failed.
- Bob
next prev parent reply other threads:[~1996-05-10 0:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-19 0:00 Common Error/Exception Handler John Cupak
1996-04-19 0:00 ` Robert A Duff
1996-04-22 0:00 ` John Cupak
1996-04-22 0:00 ` Laurent Guerby
1996-04-23 0:00 ` Michel Gauthier
1996-04-24 0:00 ` Michel Gauthier
1996-05-04 0:00 ` LJMetzger
1996-05-04 0:00 ` Theodore E. Dennison
1996-05-08 0:00 ` John English
1996-05-10 0:00 ` Theodore E. Dennison
1996-05-09 0:00 ` Jon S Anthony
1996-05-10 0:00 ` John English
1996-05-10 0:00 ` Robert A Duff [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-04-24 0:00 tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox