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

QBitArray handling by Integrated Debugger unusable

    XMLWordPrintable

Details

    • b7d8d9ba3a4705d845aac86400e2538f93c94b39

    Description

      The representation of QBitArrays in the debugger is unusable as it is impossible to decode the representation of the data from the (underlying?) QByteArray. I found this when I wanted a series of bits to be able to control the execution of sections of a large function and though that the ability to toggle individual bits at run time would be a way to interactively check the actions of various blocks of code. However on inspection of a QBitArray set to contain 12 bits the debugger proceeded to show the data spread across 3 "char" types - I suppose if I investigated/experimented further I might be able to deduce the data format - and perhaps work out how I could modify each bit that I want to tweak interactively whilst my application is at a breakpoint.

      Presumably this is in need of a (revised) debug helper but as I do not have familiarity with the Qt (Creator) source code this is not something that I can do anything about other than to raise it as an issue. I have attached a partial screen shot of the Creator IDE which I think demonstrates the issue.

      Attachments

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

        Activity

          People

            hjk hjk
            slysven Stephen Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes