Why does debugging "pure virtual method called" have to be so hard?

Mike Stump mrs@wrs.com
Thu Oct 15 18:57:00 GMT 1998


> Date: Thu, 15 Oct 1998 16:16:21 -0700
> From: John Lindal <jafl@alice.wonderland.caltech.edu>

> Why does debugging "pure virtual method called" have to be so hard?

The rest of us just set a breakpoint on __pure_virtual, and then run
the program in the debugger.  We evidently don't find it hard enough
to do something else.

How to others feel about calling abort instead of _exit?  abort might
be more useful.



More information about the Gcc mailing list