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

Display length of QByteArray's in "Locals" pane

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 13.0.0-beta2
    • Qt Creator 12.0.0
    • Debugger
    • None
    • I agree the size should be easily accessible. I was missing that myself occasionally.

    • All
    • 6515f935d (master), 8ab6b94c4 (13.0)

    Description

      When viewing the local variables while stopped in Debug mode, variables of type QByteArray preview a certain number of characters in the "Value" column.

      I work with a lot of large QByteArray's containing binary data, and it would be much more useful to me to see the size of the QByteArray in place of the contents, as the current behavior is for QList.

      It sounds unwieldy, but if there were some way to display the size in the "Type" column, as "QByteArray of size 1024" then we could have the best of both worlds.

      Attachments

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

        Activity

          People

            hjk hjk
            glenm Glen Mabey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes