Why does debugging "pure virtual method called" have to be so hard?
Lassi A. Tuura
lat@iki.fi
Fri Oct 16 04:10:00 GMT 1998
|> How to others feel about calling abort instead of _exit? abort might
|> be more useful.
Please! That would make post-mortem debugging much easier for those of
who have to deal with developers that know just about nothing about
debugging. Another benefit would be that if it did `abort', we would
get a stack dump for the bug reports -- our fatal error handlers can
dump stack trace or drop a core, or both, on certain systems.
Cheers,
//lat
--
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead. --RFC1925, "The Twelve Networking Truths"
More information about the Gcc
mailing list