Friedemann Kleint
603630fad6
Debugger: Use Gdbmi parser in CDB for parsing of protocol 1
...
Change dumper protocol 1 output not to contain type names as
hash keys (might contain blanks), use lists instead.
Start fixing autotests for 4.6.
2009-09-18 16:55:17 +02:00
Oswald Buddenhagen
1500914f5b
fix pointer aliasing issue
2009-09-18 11:31:00 +02:00
hjk
80847e5551
debugger: disable not very useful QImage dumper for 1.3
2009-09-03 13:32:26 +02:00
hjk
b69fad927a
debugger: fix child count in QAbstractItem dumpers
2009-09-03 13:26:38 +02:00
hjk
452f108ac7
debugger: fixes and improvements related to the Locals display
...
Split the concepts 'enabled' and 'editable' in the dumper output
Disable "<not in scope>" entries, also fix their type.
Fix glitch in type beautification for display
Find reason for failing bulk updates.
2009-08-31 16:05:55 +02:00
hjk
c7a48c67c0
debugger: revert accidentally commited changes in the dumpers
2009-08-28 17:37:48 +02:00
hjk
da76dcc32f
debugger: the new pointer checks had been to aggressive. disable for now
2009-08-28 17:32:04 +02:00
hjk
27382f753c
debuger: fix insertion of nested WatchData
2009-08-28 15:56:58 +02:00
hjk
75ade29466
debugger: allow dumpers to return children in more than one nesting level
2009-08-28 14:34:56 +02:00
hjk
9a5908bf8c
debugger: small improvements to dumpers
...
Add a dumper for QStack. Also don't crash when accessing an uninitialized
pointer when the pointer looks bad to begin with.
2009-08-28 10:42:55 +02:00
hjk
b901b5013d
debugger: fix type field in QHash dumper
2009-08-27 18:21:22 +02:00
hjk
1011450ca3
debugger: make list access in dumpers a bit more robust
2009-08-27 18:12:03 +02:00
hjk
786a0deb77
debugger: constify the address parameter passed to qDumpObjectData
2009-08-27 17:07:37 +02:00
hjk
9b34946f85
debugger: cosmetics of the dumper output
2009-08-27 16:52:14 +02:00
hjk
e195159f16
debugger: fix dumpers for QSharedPointer and QWeakPointer for the isNull() case
2009-08-26 16:49:05 +02:00
hjk
8ad116c0f1
debugger: re-organize autotests. also adjust to recent QScopedPointer changes
2009-08-26 16:11:23 +02:00
hjk
d79e8dc342
debugger: small fixes in the QObject dumper and autotest
2009-08-21 08:13:54 +02:00
hjk
a43bda6035
debugger: add dumpers for QPoint, QPointF, and QRectF
2009-08-21 08:13:50 +02:00
hjk
6a20960cad
add dumper for QRect
2009-08-20 10:24:22 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
hjk
71302eab8f
debugger: re-enable all dumpers that are usable in bootstrapped applications
2009-08-13 13:18:32 +02:00
hjk
864dec490f
debugger: make helpers compilable with QT_BOOTSTRAPPED
2009-08-12 17:34:40 +02:00
Friedemann Kleint
894febbadf
Debugger: Make use of the "displayedtype" attribute.
...
Fix "displayedtype" in CDB, display it elsewhere.
Log debugger settings in DebuggerManager startup.
Acked-by: hjk <qtc-committer@nokia.com >
2009-08-12 11:21:44 +02:00
ck
49066c709a
Debugger: Added auto test for QModelIndex dumper.
...
Also fixed a bug uncovered by the auto test.
2009-08-11 11:44:23 +02:00
ck
f7a3fa1253
Debugger: Adapted dumper auto tests to new QObjectPrivate changes.
...
Also added checks to guard against these kind of changes in the future.
2009-08-11 10:28:24 +02:00
ck
d5d53c746a
Debugger: Fixed QMapNode dumper.
2009-08-10 16:59:15 +02:00
ck
0ab8f1ed46
Debugger: More dumper auto tests.
...
Added auto tests for QFileInfo, QHashNode and QLocale dumpers.
2009-08-07 15:28:54 +02:00
ck
e5c38532f5
Debugger: Fixed dumper autotests.
...
Recent changes to QObject and QSharedPointer broke the dumper
auto tests.
2009-08-06 17:40:53 +02:00
ck
3f6d5a83a8
Bugfix: Private header is no longer included in public header.
2009-08-06 11:21:40 +02:00
ck
99d4c0b2a9
Debugger: More dumper auto tests.
...
Added test for "QAbstractItem" and fixed bug uncovered by that.
2009-08-05 16:01:33 +02:00
ck
afd9fd824d
Debugger auto tests: Tracked changes to QObjectPrivate.
2009-08-05 14:05:03 +02:00
ck
2721eb2371
Debugger: Added auto test to stay in sync with QObjectPrivate.
...
The compile-time solution introduced by 3a084ae8a2
was felt by some to be too intrusive, so I've integrated the check for
changes to QObjectPrivate into the auto test.
2009-08-04 15:38:31 +02:00
ck
3a084ae8a2
Dumper updates.
...
- Added auto test for QMap.
- Qt::UniqueConnection is not actually a connection type, so we
don't treat it as one.
- The definition of QObjectPrivate keeps getting out of sync, so
there now is a "static assertion" that causes a compile error
when QObjectPrivate's size changes.
2009-08-04 12:23:26 +02:00
ck
fb2f3860fa
Debugger: Updated QObjectSlot dumper for Qt 4.6.
...
The format of QObjectPrivate's senders list changed in version 4.6.
This change is now taken into account by the QObjectSlot and
QObjectSlotList dumpers.
Reviewed-by: hjk
2009-07-24 10:50:18 +02:00
ck
5a71082328
Made use of Qt::UniqueConnection dependent on version >= 4.6.
2009-07-20 16:21:43 +02:00
ck
512b809188
Added more dumper auto tests.
...
Added test for QObjectSignal dumper and fixed two bugs uncovered by it.
2009-07-20 16:10:37 +02:00
ck
0a0b16a1db
Added more dumper auto tests.
...
Added test for QImage and fixed bug uncovered by that test.
Also prepared test for QSharedPointer.
2009-07-16 14:35:49 +02:00
Friedemann Kleint
562b417036
Debugger: Remove unneeded expression for dumping QVector.
...
...thus enabling dumping of it in CDB.
Reviewed-by: hjk <qtc-committer@nokia.com >
2009-07-16 12:09:24 +02:00
Friedemann Kleint
7a847df2b7
Fix CDB/output dumperversion correctly, dump maps correctly.
2009-07-15 16:07:57 +02:00
hjk
a16aa2e0d6
debugger: remove duplicated 'completeSuffix' entry in QFileInfo dumper
2009-07-15 09:26:00 +02:00
hjk
56a81a06b5
debugger: fix regression in QMap dumping introduced in 5bd1d2a0
2009-07-14 10:08:12 +02:00
hjk
b1761033ea
debugger: workaround for gdb reporting 'std::wstring' as 'wstring'
2009-07-13 12:53:50 +02:00
ck
911d15a879
Added QDumper auto tests.
...
Added auto tests for QChar and QFile dumpers.
2009-07-10 14:57:50 +02:00
hjk
56b24aac36
debugger: reduce amount of data produced by the dumpers by removing
...
predicatable parts.
2009-07-10 13:40:54 +02:00
hjk
ef786bf32e
debugger: do not output child type and numchild information if it is equal
...
to the ones specified in the childtype and childnumchild items
2009-07-10 13:40:54 +02:00
hjk
209037e98f
debugger: remove the InnerValueResult enum and handling again.
...
60 lines of mainly useless code
2009-07-10 11:39:11 +02:00
hjk
206adf2d43
debugger: work on dumper auto tests
2009-07-09 10:26:54 +02:00
Friedemann Kleint
842540d9c0
Dump QObjects for CDB
2009-07-09 09:11:22 +02:00
hjk
de6fda2020
debugger: add auto tests for QList
2009-07-08 18:28:49 +02:00
Friedemann Kleint
7b15d12300
Dumper fixing, dump some common std::map, std::set types with CDB.
...
- std::set/map: Introduce templates to iterate the MSVC STL
implementation depending on type (since it inherits some
basic set_traits that depend on the key/value size.
- Retrieve types correctly in CDB (buffer too short for STL-types)
- Fix std::map in GDB broken by previous commit.
- Introduce a dumper version check in GDB/CDB.
- Make GDB parse sizes in initial dumper call as well
- Fix special sizes to work with namespaced Qt (watchutils)
2009-07-07 16:00:45 +02:00