hjk
70c6ed0d82
debugger: speedup QVariant dumper
...
Essential for QObject, too.
Change-Id: Ie798227f6c8d07eff37e6dbadb7f6f5baa382ca8
Reviewed-on: http://codereview.qt.nokia.com/851
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-28 17:55:46 +02:00
hjk
786de8a7e6
debugger: correct comment in dumper.py
...
Change-Id: Ic1d33180515ad79c4233b013ec7d3530674d5117
Reviewed-on: http://codereview.qt.nokia.com/651
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-23 12:31:17 +02:00
hjk
91c44b26c9
debugger: remove listing of breakpoints in dumper code
...
This was meant to provide breakpoint notifications which are available
in gdb 7.3.50.x now.
Change-Id: I09ced542bb5171f10350b9dc722cab3376d1ded8
Reviewed-on: http://codereview.qt.nokia.com/650
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-23 12:31:06 +02:00
hjk
f446bebadc
debugger: with gdb 7.3 we can have proper display of dynamic types.
...
So use it.
Change-Id: If33d087a9b767f0b2e6b16e57a36e9e7aa6e7c16
Reviewed-on: http://codereview.qt.nokia.com/522
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-20 17:38:23 +02:00
hjk
2f29eafcad
debugger: always use tempfile module
...
Change-Id: Icd9c3be33ecd69c5ada48108e783f7b5b2967557
Reviewed-on: http://codereview.qt.nokia.com/272
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com >
2011-05-31 16:07:14 +02:00
hjk
f897108198
debugger: fix partial display of children in locals and watchers
...
Change-Id: I4edc6875f3d24a75dd5554a01ae01946e5c9ae76
Reviewed-on: http://codereview.qt.nokia.com/209
Reviewed-by: hjk <qthjk@ovi.com >
2011-05-30 12:57:03 +02:00
hjk
9e231e4407
debugger: fix expansion of object in gdb tooltips on first click
...
Change-Id: Ia157f8fb7f1b9ff8a8161c8a726d1d483b81e54f
Reviewed-on: http://codereview.qt.nokia.com/179
Reviewed-by: hjk <qthjk@ovi.com >
2011-05-27 12:22:06 +02:00
hjk
de929e825d
debugger: introduce a parameter struct for updateLocal
...
Change-Id: I05ecc935e1b6cf9483f23624f18e4dc5b9f295f3
Reviewed-on: http://codereview.qt.nokia.com/178
Reviewed-by: hjk <qthjk@ovi.com >
2011-05-27 11:23:08 +02:00
hjk
46a707fd8d
debugger: Fix address output for watchers
...
There is no address for on-the-fly expressions
Change-Id: Id8c1c2e4d727732196386928a9eddc7c81073415
Reviewed-on: http://codereview.qt.nokia.com/73
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk
2011-05-23 17:40:30 +02:00
hjk
7347587d69
debugger: take a few string comparisons off the critical path
2011-05-16 17:22:05 +02:00
hjk
2f009a301b
debugger: remove custom 'select' function from dumpers
2011-05-16 17:22:05 +02:00
hjk
185aaa7e26
debugger: use python's built-in min()
2011-05-16 17:22:05 +02:00
hjk
0747859006
debugger: make QVector and std::vector writable
2011-05-11 10:38:04 +02:00
hjk
587a2c3a2a
debugger: enable modification of std::string and QString
2011-05-10 19:01:49 +02:00
hjk
6331b68943
debugger: (gdb, non-Mac) also print numeric values for enums
2011-05-10 15:58:11 +02:00
hjk
725fb153b7
debugger: speed up python dumper
...
build up list of string chunks instead of big string
2011-05-10 15:58:11 +02:00
hjk
da44415ebe
debugger: more direct number conversion in putAddress
2011-05-10 15:58:11 +02:00
con
e92988261e
Merge remote branch 'origin/2.2'
2011-04-20 11:07:25 +02:00
hjk
501f4bba34
debugger: prevent endless loop in resolution of some types
...
Reviewed-by: Friedemann Kleint
2011-04-19 12:42:38 +02:00
hjk
fea6bcd944
debugger: enable latin1 or utf8 char[] display
2011-04-18 16:15:39 +02:00
Friedemann Kleint
67d391019b
Debugger: Have Python dumper print type size information.
...
For memory views. In the dumper, create a cache of TypeInfo
structs to contain type information and print the new entries
in each call of bb().
Collect the information in the gdb engine.
Replace WatchData::origAddress by WatchData::ReferencingAddress
to be able to correctly handle automatically dereferenced
pointers of the gdb engine. Whereas 'address' of a automatically
dereferenced used to be that of the pointer, it is now that
of the dereferenced item matching the size reported, enabling
memory views. Referencing address is now the address of the pointer.
Reviewed-by: hjk
2011-04-12 15:56:03 +02:00
hjk
9dc3e3ed44
debugger: fix quoting of watched expressions with funny chars inside
...
Base 64 to the rescue.
Reviewed-by: con
2011-04-08 14:46:35 +02:00
hjk
2074ec8a35
debugger: fix quoting of watched expressions with funny chars inside
...
Base 64 to the rescue.
2011-04-08 13:22:00 +02:00
hjk
cd9aec6df9
debugger: make original value of automatically dereferenced pointer accessible
2011-04-06 18:40:32 +02:00
hjk
b0b8a452c1
debugger: dump integers and floats based on the typedef stripped type
2011-03-01 19:17:03 +01:00
hjk
3d7a145803
debugger: add address display for floats and bools
2011-03-01 16:50:02 +01:00
hjk
55de258156
debugger: output bitfield sizes
2011-03-01 16:30:51 +01:00
hjk
fe03946df9
debugger: Switch off address printing for generated items
2011-03-01 15:44:22 +01:00
hjk
fa919345fc
debugger: remove unused dumper code
2011-03-01 14:23:35 +01:00
hjk
5977545423
debugger: write more object addresses in dumpers
2011-02-28 17:35:52 +01:00
hjk
cdfbf4bbcb
debugger: don't try to extract address of temporary expressions
...
They don't "live" in the inferior, so there is no real address.
2011-02-04 09:32:35 +01:00
hjk
fa304b45e5
debugger: make qt namespace retrieval more robust
2011-01-17 15:24:14 +01:00
hjk
5268b0c865
debugger: move global qqNs definition to a saner location
2011-01-12 14:14:57 +01:00
hjk
eb701fc7a8
debugger: start on integrated combined c++/qml debugging
2011-01-12 12:17:25 +01:00
con
f46a87a6f5
Merge remote branch 'origin/2.1'
...
Conflicts:
src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.cpp
2011-01-12 10:20:46 +01:00
hjk
346080c2ae
debugger: disable "threadnames"
...
This works around the problem that the threadnames deduction switches
the current thread and thereby invalidates the assumption that the
thread mentioned in the *stopped response is the "current" thread.
There's already a proper fix in master including some performance
enhancements.
Reviewed-by: con
2011-01-06 14:09:11 +01:00
hjk
31f18491ce
debugger: fix thread switching in ThreadNamesCommand
2010-12-20 16:57:17 +01:00
hjk
bbba0f58a9
debugger: cache results of finding out the current Qt namespace
2010-12-20 14:47:52 +01:00
hjk
a23a45da88
debugger: fix previous commit
2010-12-17 18:02:02 +01:00
hjk
d55499f58a
debugger: use to_string attribute to gdb.execute if available
2010-12-17 17:42:16 +01:00
hjk
8062222e0f
debugger: fix display of C style 'typedef struct X { ... } X;' types.
2010-12-16 13:35:41 +01:00
hjk
e3886aaf4e
debugger: display array base address as default value
2010-12-14 15:12:14 +01:00
hjk
bb654838cf
debugger: fix gdb 7.2's template argument hickup also for more then one arg
2010-12-01 10:12:18 +01:00
hjk
5f5dbc62fd
debugger: remove unneeded argument from templateArgument()
2010-11-30 17:30:06 +01:00
hjk
d3290c3231
debugger: replace a few 'template_argument(0)' by the templateArgument wrapper
...
Makes QSharedPointer & Co. work with gdb 7.2
2010-11-30 17:14:44 +01:00
hjk
f03138aa53
debugger: work around gdb 7.2 bug
...
python print gdb.parse_and_eval("ob.d_ptr.d.children\").type.template_argument(0)
creates consistent "RuntimeError: No type named myns::QObject." with stock 7.2
2010-11-30 16:52:46 +01:00
hjk
e13794d0dc
debugger: make gdbmacros.py more generic
...
Mostly move parts of the gdb related quoting to dumper.py, also split
function calls in strings into separate arguments.
2010-11-19 15:02:47 +01:00
hjk
0d54cab7b0
debugger: improve python dumper profiling support
2010-11-19 15:02:47 +01:00
hjk
4a08c9a302
debugger: adjust format of item count after f9eea7e1
2010-11-19 11:50:22 +01:00
hjk
718c08a009
debugger: make more python dumpers more robust when debug info is missing
2010-11-19 11:50:22 +01:00