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

GDB should break on pure virtual call

    XMLWordPrintable

Details

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

    Description

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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes