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

Can't change display of QByteArray

    XMLWordPrintable

Details

    Description

      1. Have a project which contains the following lines:
                QByteArray ba;
                ba += "Hello";
                ba += '"';
                ba += "World";
                ba += char(0);
                ba += 1;
                ba += 2;
        
      2. Configure this with a kit using MSVC2010.
      3. Set a breakpoint after the said code, let the debugger run up to there and check the contents of the Locals and Expressions view.
        With Qt 4, Creator displays "Hello"World", with Qt 5 it displays "Hello"World..."
      4. Right-click on the value and select "Change Local Display Format..." -> "Show Unprintable Characters as Octal" from the context menu.
        Nothing will change.

      I have expected to see something like "Hello"World\000\001\002". If it not possible to change the display format for some reason, this part of the context menu should be disabled.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: