Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
Qt Creator 3.5.0-rc1
-
Windows 7 64 bit
Qt 5.5.0
g++ 4.9.1
GNU gdb (GDB) 7.8
-
5f9f95a4516db9d915fa7858ed89adaa2b9781d6
Description
- Build the following code with MinGW:
const int N = 14; QProcess proc[N]; for (int i = 0; i != N; ++i) { proc[i].start("sleep 10"); proc[i].waitForStarted(); }
(Taken from function void testQProcess() in tests\manual\debugger\simple\simple_test_app.cpp:4210.)
- Stop at a breakpoint behind it with gdb.
- Look at the value displayed for proc in Locals and Expressions view:
N 14 int proc @0x28fd90 QProcess [14]
proc can't be expanded to show the single QProcesses inside the array.
It should be possible to expand the array and show the single items. When using MSVC2013 and cdb or for an array of more trivial types, this works correctly.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-23998 c-style array causes QWidget not to display in debugger
- Closed
For Gerrit Dashboard: QTCREATORBUG-14755 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
122013,3 | Debugger: Work around wrongly reported array size | 3.5 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |