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

Debugger pretends to allow editing fields in locals & expressions view but often doesn't

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.7.1, Qt Creator 4.8.0-beta2
    • Debugger
    • None
    • macOS
    • 402991498fb18371b5dc97d9067cbb82d3d1198d

    Description

      Take for example this:

      #include <QDebug>
      
      int main(int argc, char *argv[])
      {
          QString b("lalalal");
          qDebug() << b;
      }
      

      Break on the qDebug() line and double click on the value of b in the l&e view. You get the edit field, you can change the value, but pressing enter reverts it to the previous state.

      I understand that not all debugger engines support editing of all data types. However, as it is now, nobody knows under which circumstances editing is actually supported and therefore this feature is a constant source of frustration. The edit field should not pop up in the first place if the value is readonly.

      Attachments

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

        Activity

          People

            hjk hjk
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes