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

John Lindal jafl@alice.wonderland.caltech.edu
Fri Oct 16 11:28:00 GMT 1998


> 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




More information about the Gcc mailing list