Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 3.4.0
-
None
-
Windows 7 64 bit
Qt 5.4.1
MinGW 4.9.1
gdb 7.8.0
Description
- Have the following lines in your code:
QTime date = QTime::currentTime(); qDebug() << date;
- Set a breakpoint before these lines and let the debugger run there.
In Locals and Expressions view, Creator displays a value for data, e.g. "02:35:19". How can QTime have a value when it's not yet initialized? It's not even grayed but red. - Step over the initialization.
Now Creator displays the correct value.
When the QTime object is not yet initialized, Creator should display "(invalid)".
This work correctly on Linux or when using cdb.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-13263 Dumper for QDateTime displays wrong values
- Closed