This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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.

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]