Friedemann Kleint
6e93f4544d
Display Q<>Pointers/Work towards displaying maps/QMaps in CDB.
...
Make dumpers pass on more size information initially, namely the
various Q<>Pointers. Introduce enum for those special template types
whose size does not vary with the arguments (Q<>Pointer,
std::allocators...) to make it more easily extensible.
Pass on some common QMapNode<> sizes as well.
Introduce an expression cache to the common QtDumperHelper
class and make dumpers pass some common expression values
(value offsets of common QMapNode<> incarnations).
Make CDBDumperHelper use the expression cache.
Extend dumper tester.
2009-07-02 16:38:15 +02:00
hjk
ffee3f98af
debugger: fix regression in QVariant dumper
2009-07-01 14:15:44 +02:00
hjk
013437cfab
debugger: add widget watchers by mouse click in the debugged application.
...
The option is hidden in the context menu.
Currently the application must be stopped.
2009-07-01 14:15:44 +02:00
hjk
6edbc900b9
debugger: refactoring
2009-06-26 13:18:17 +02:00
hjk
fc145c2c02
debugger: reduce use of macros in dumper code
2009-06-26 10:52:19 +02:00
hjk
b295aec1ad
debugger: fix several small issues in the dumper code
...
Fix typo in QChar helper.
Add a auto tests for some of the dumpers.
Make the dumpers compilable for Qt < 4.5 for better regression tests.
Make manual tests compile with Qt < 4.5.
2009-06-26 10:51:27 +02:00
hjk
6ea24c6e65
debugger: better dumper support for QChar and unsigned short.
2009-06-24 14:37:29 +02:00
hjk
69f58777c2
debugger: also simplify diplayed type of nested std::containers
2009-06-23 10:25:06 +02:00
hjk
a4d2666b8d
debugger: fix dumper for QList<T*>
2009-06-19 15:13:26 +02:00
hjk
d8b589ceff
debugger: remove QtGui dependency from debugging helpers
...
It was only used for the watch-QImage-while-it-is-being-drawn-on feature,
which does not seem overly useful.
2009-06-18 13:39:19 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Daniel Molkentin
6b919043bf
Partitial revert of d7af85a097.
...
broke at least cdb.
Reviewed-By: hjk <qtc-committer@nokia.com >
2009-06-08 12:12:36 +02:00
hjk
d7af85a097
debugger: implement a dumper for QAbstractItemModel
...
This also squashes a namespace related bug introduced by the watchutils
refactoring.
2009-06-03 12:48:48 +02:00
hjk
ee5fb31f11
debugger: re-start work on image dumper
2009-05-29 16:25:12 +02:00
Friedemann Kleint
aca4386a0f
Ignore EXCEPTION_ACCESS_VIOLATION in the dumpers for speedup.
...
Do not trigger the whole debugger mechanism when Dumpers
crash on encountering uninitizialized variables. Temporarily
ignore the exceptions while in dumper call.
2009-05-22 14:31:37 +02:00
Friedemann Kleint
3ba72d0e1e
Stabilized the QString debug dumper a bit on Windows.
...
Try to prevent dumper crashes on
unitialized variables that slow down the debugger.
Acked-by: hjk <qtc-committer@nokia.com >
2009-05-20 16:59:40 +02:00
hjk
158e5ee82c
debugger: refactoring of the QObject dumper
...
signal lists still broken for 4.6
2009-05-13 16:12:10 +02:00
hjk
6b9f9c6086
debugger: alsways use the copied qobject_p.h for the QObject dumper
2009-05-13 14:50:49 +02:00
con
6264ba4f59
Make QString dumper fail faster in case of uninitialized variables
...
Reviewed-by: hjk <qtc-committer@nokia.com >
2009-05-12 16:47:56 +02:00
Friedemann Kleint
63384fbdc3
Made std::vector/std::list work with CDB dumpers.
2009-05-06 09:22:05 +02:00
Oswald Buddenhagen
0b802b31c8
less inefficient
...
still quite some potential ...
2009-05-05 21:00:24 +02:00
Oswald Buddenhagen
0368b2134a
fix typos
2009-05-05 21:00:24 +02:00
Friedemann Kleint
bae6525976
Started on QObject dumping for CDB, make it smarter.
...
Try to find qobject_p.h, if it exists and use its structures
to determine the child offset.
2009-05-05 16:39:51 +02:00
Friedemann Kleint
0e73d5feb9
Added vector, QObject to dumpers.
2009-05-05 12:46:36 +02:00
Friedemann Kleint
fa87783cb4
Added test application for Debugger dumper development.
2009-05-05 12:11:22 +02:00
hjk
14321e675d
debugger: add dumper for QWeakPointer
2009-04-29 17:48:04 +02:00
Friedemann Kleint
1c56388945
Make dumpers output size information.
2009-04-29 16:52:14 +02:00
hjk
0428a109e8
debugger: fix output of weak and strong reference counts in
...
QSharedPointer dumper
2009-04-29 15:09:42 +02:00
Friedemann Kleint
4ca60701da
Use void() funcs in the dumpers for simplicity.
2009-04-29 14:31:11 +02:00
Friedemann Kleint
72a183777e
Initial work on dumpers for CDB.
...
Add dumper calls, parser etc. Catch crashes
in the dumper functions.
2009-04-29 14:15:09 +02:00
hjk
8f4ae5fa53
debugger: use 4.5 features in dumpers only if compiled under 4.5+
2009-04-28 11:21:46 +02:00
hjk
462a20461a
debugger: add a dumper for QSharedPointer
2009-04-28 10:59:32 +02:00
Friedemann Kleint
52915776cd
Make CDB load custom dumpers.
...
Load in a 'well-defined' (temporary) breakpoint
at main().
2009-04-22 17:28:26 +02:00
hjk
85f340e27f
debugger: fix dumper building on 'release' Qts
2009-04-17 14:23:21 +02:00
hjk
3c7b1f4a80
debugger: return the address of the output buffer from the dumpers
2009-04-16 08:57:34 +02:00
hjk
5cb0a3cb72
debugger: put the address of the loaded helpers into the debugger log
2009-04-15 16:48:46 +02:00
hjk
353025f37f
debugger: potential fix for cases where the std:: namespace is not
...
reported properly
2009-04-09 13:49:22 +02:00
hjk
47995286b5
debugger: show non-ASCII in QString, too
2009-04-02 10:58:52 +02:00
hjk
5c9fd00d35
debugger: fix QStringList-in-QVariant dumper
2009-03-26 12:36:04 +01:00
hjk
95c0b1c130
debugger: cosmetical improvements of QVariant dumper output
2009-03-26 12:36:04 +01:00
hjk
1562193bf6
Fixes: debugger: compile fix for dumpers on naked Windows XP
...
Details: <unistd.h> does not seem to be present there
2009-03-12 11:49:04 +01:00
hjk
a331218e9c
Fixes: debugger: fix std::wstring dumper
2009-03-12 08:16:07 +01:00
hjk
8958a079b5
Fixes: debugger: also show the original address in a tooltip when
...
auto-dereferencing contents
2009-03-11 15:09:33 +01:00
hjk
d3f8d16f88
Fixes: debugger: implement custom dumpers for std::set
...
Task: 246286
2009-03-11 13:31:38 +01:00
Oswald Buddenhagen
605c0317b1
add licenses during the custom dumper build step.
...
once copied, these files are virtually an own project, so they need to
have an own copy of the licenses.
2009-02-26 17:53:39 +01:00
Oswald Buddenhagen
aef3e59c36
exchange license files GPL => LGPL
2009-02-26 17:53:39 +01:00
hjk
84c82a669b
Fixes: change license headers to LGPL
2009-02-25 09:02:17 +01:00
hjk
f338c4eed7
Fixes: Fixes: backport debugger: remove unneeded #include <window.h> that
...
confused
2009-02-18 12:25:22 +01:00
hjk
df16699ed9
Fixes: debugger: revert accidental parts of b0650238
2009-02-11 14:17:25 +01:00
hjk
53ab86dceb
Fixes: fakevim: explicitly make 'l' an 'exclusive' motion
2009-01-28 18:35:05 +01:00