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

Debugger doesn't shows value of heap variables on mouse hover

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 4.8.2
    • Debugger
    • Linux/X11, Windows

      Qt creator, the debugger is able to resolve stack variables and shows value when hovering mouse over them but does not resolves the value of heap variable, for instance class members only shows data type.
      Though it is visible if class member varaibales are are expended in right side.
      Also, in lambda function stack variable are not showing its values.

      The lamba function test is a little better on windows:

      • hover counter variable gives empty hover dialog (see lambda_windows.png)
      • stack variables and values appear in the locals window
      • hover the member variable shows the data type
      • not possible to see the member values in the locals window

       

      Compiler: gcc 5.4.0

      • Debugger: gdb 7.11.1
      • Qt 5.12 prebuilt by Qt
        -

        1. lambda_stack.png
          lambda_stack.png
          166 kB
        2. lambda_windows.png
          lambda_windows.png
          159 kB
        3. member_variable_hover.jpg
          member_variable_hover.jpg
          4.01 MB
        4. qtcreatorbug22282.tar.gz
          2 kB
        5. stack_variable_hover.jpg
          stack_variable_hover.jpg
          4.21 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes