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

Regression: Debugger shows wrong line when stopped at too deep recursion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 3.1.2
    • Debugger
    • Windows 7 64 bit
      Qt 4.8.6, 5.2.1, 5.3.0

    Description

      1. Open project simple.pro from Creator's source repository.
      2. In testEndlessRecursion(), comment out the return.
        Currently, this is line 2325 of simple_test_app.cpp
      3. Build this on an MSVC-based build of Qt.
      4. Run the result in the debugger.
        The debugger will stop because of the too deep recursion. Creator will show the definition of dummyStatement(...) in line 143 which seems to have nothing to do with this.
      5. Stop debugging.
      6. Repeat steps 4 and 5 a couple of times.
        Creator will eventually start showing the right line.
      7. Rebuild the project.
      8. Repeat steps 4 and 5.
        Creator will show the wrong line again.

      Creator should show the definition of testEndlessRecursion(). This used to work with Creator 3.0.1.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes