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

"Break when C++ exception is thrown" does not work with cdb

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 3.1.0-rc1
    • Debugger
    • Windows 7 64 bit

    Description

      1. Open a project in which an exception is being thrown and caught.
      2. Configure this project to use a kit with an MSVC-based Qt.
      3. Right-click into the Breakpoints view and select "Add Breakpoint" from the context menu.
      4. Select the breakpoint type "Break when C++ exception is thrown" and click "OK".
      5. Run the project in the debugger.
        The execution won't stop at all.

      The execution should stop when the exception is being thrown. Debugging with gdb does this correctly.

      When an uncaught exception is being thrown, Creator shows this line regardless of whether a breakpoint is set or not.

      Attachments

        1. left.log
          0.2 kB
        2. right.log
          23 kB

        Activity

          People

            davschul David Schulz
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: