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

Value annotations appearing in surprising places

XMLWordPrintable

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

      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:

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

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

              Created:
              Updated:

                There are no open Gerrit changes