This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Why does debugging "pure virtual method called" have to be so hard?
- To: egcs at cygnus dot com
- Subject: RE: Why does debugging "pure virtual method called" have to be so hard?
- From: "Wegher, Jeff" <JWegher at neonsoft dot com>
- Date: Wed, 28 Oct 1998 13:45:37 -0700
I don't understand how throwing an exception when a pure virtual method is
accidentally invoked would help in the debugging process. Won't the throw
unwind your stack so you can't see where it happened? Yikes... I'd much
rather have abort() called which will give me a core file to look at -- at
least under UNIX.
Jeff