Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-6773

GDB should break on pure virtual call

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.5.0-beta
    • Debugger
    • None
    • Windows, GDB
    • 87de819729e1da419ba70fb8c1a67f0618a7b8fe

      Pure virtual call aborts with the following message:

      pure virtual method called
      terminate called without an active exception
      
      This application has requested the Runtime to terminate it in an unusual way.
      Please contact the application's support team for more information

      It should (configurably?) break when debugging. This can be achieved by placing a breakpoint on the function __cxa_pure_virtual.

      I tried to add 'break __cxa_pure_virtual' on 'Additional Startup Commands', but it doesn't always work. Sometimes it runs before the symbols are read...

        For Gerrit Dashboard: QTCREATORBUG-6773
        # Subject Branch Project Status CR V

            hjk hjk
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes