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

Value annotations appearing in surprising places

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 10.0.2, Qt Creator 11.0.0-beta1
    • Debugger
    • Ubuntu 22.04 LTS

    Description

      1. Open the "simple" test project in Creator.
        See tests/manual/debugger/simple/simple.pro in Creator's source repository.
      2. Place a breakpoint in the last line of the main function, at the return statement.
      3. Run the debugger.
        It will stop at the breakpoint. The source code editor displays annotations with the values of variables. Usually, these are near usages of such variables. The values of "b" and "c" are displayed in lines without any usage of the variables, though:

      Attachments

        1. debug.png
          210 kB
          Robert Löhning
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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