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

Better support for "raw" QByteArrays and char[]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 3.6.0
    • Fix Version/s: Qt Creator 4.0.0-beta1
    • Component/s: Debugger
    • Labels:
      None
    • Environment:
      Windows, Linux, gdb as well as cdb
    • Commits:
      3eaa734cc3eeab25a9822bd63259efb47a5a9757

      Description

      QByteArrays or char[] arrays containing non-readable data are difficult to inspect.

      The value for each byte is printed decimal, negative/positive if above 127, and with the correspondig ASCII character if possible. But what I'd like to see, is a hexadecimal representation for each byte.

      1. The "Change Value Display Format" on the array allows to specify "Treat All Characters as Printable" or "Show Unprintable Characters as Hexadecimal". What's missing for me is: "Show All Characters as Hexadecimal"

      2. The same menu allows to change the "Display Display for Object" to several string formats, a raw format (what is that?), but there's also no hex dump here.

      3. You can of course change the display format for every byte to hex, but only one after another. While it is possible to select several bytes, only the last one changes it's format.

      Best would be, that the format could be changed for the whole array.
      Second best would be, that selecting multiple bytes allowed changing the format for all of them.

        Attachments

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes