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: John Lindal <jafl at alice dot wonderland dot caltech dot edu>
- Date: Fri, 16 Oct 1998 11:44:34 -0700
> 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.
That's a clever idea, but I didn't even know such a function existed. I
suspect most people don't, so abort() would be much better since most
people know how to debug a core dump.
John