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

No CDB debugger tooltip for variable in struct

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 13.0.0-rc1
    • Qt Creator 3.3.0-rc1
    • Debugger
    • None
    • Windows 7 64 bit
    • 9934a9caf (13.0)

    Description

      1. Have a simple C++ program:
        #include <iostream>
        
        using namespace std;
        
        struct X{
            int x;
        
            void foo()
            {
                ++x;
            }
        };
        
        int main()
        {
            X x;
            x.foo();
            return 0;
        }
        
      2. Set a breakpoint at "++x".
      3. Run this in cdb.
      4. When the execution stopped at the breakpoint, point your mouse at "++x".
        You'll only see a tooltip from the code model:

      Before https://codereview.qt-project.org/99651/ you got a tooltip from the debugger:

      Please bring back this tooltip.

      Attachments

        1. after.png
          1.0 kB
          Robert Löhning
        2. before.png
          3 kB
          Robert Löhning
        For Gerrit Dashboard: QTCREATORBUG-13413
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes