Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.6.1
-
None
-
Qt 5.6.0 On-line Linux + separate Qt Creator 3.6.1 installation (as bundled 3.6.0 had non-functional debugger value change bug https://bugreports.qt.io/browse/QTCREATORBUG-15551)
-
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.