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

Debugger displays QByteArray containing newlines inconsistently

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.6.0
    • Qt Creator 3.6.0
    • Debugger
    • None
    • Ubuntu 14.04
      Debugger in the Kit: gdb 7.5.1
    • 4b93663acd71c8c4e80a86184af7b0ea88d4bcf9

    Description

      I couldn't re-produce this with a minimal example, so here it is with qtcreator.pro:

      1. Set a breakpoint in the last line of QmakeProject::updateCppCodeModel() in current 3.6 qtcreator.pro sources.
      2. "Start Debugging"
      3. Create a "Qt Console Application" from the wizard.
      4. The debugger will stop on the breakpoint, expand pinfo, expand m_projectParts, expand [0], expand data - compare the display of the value toolchainDefines and projectDefines in the attached screenshot. Both contain newlines but are displayed differently.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-15486
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes