Commit Graph

107 Commits

Author SHA1 Message Date
hjk
9e59bdf9ae debugger: fix merge 2010-08-18 10:21:05 +02:00
hjk
dc804c69e5 debugger: python needs no semicolons 2010-08-18 09:52:55 +02:00
hjk
aa16f34ec0 debugger: next attempt at robustly recognizing QObjects
(cherry picked from commit e8eea80c3f)
2010-08-17 16:45:58 +02:00
hjk
7aa677c4e5 debugger: fix QObject property dumper by using workaround
As suggested by Tom T. in http://sourceware.org/bugzilla/show_bug.cgi?id=11912
(cherry picked from commit f52a88a074)

Conflicts:

	share/qtcreator/gdbmacros/dumper.py
2010-08-17 16:32:59 +02:00
hjk
7788e95ee9 debugger: fix display of arrays of types that gdb forgot about
(cherry picked from commit a1f2638c5f)

Conflicts:

	share/qtcreator/gdbmacros/dumper.py
2010-08-17 15:52:01 +02:00
Friedemann Kleint
faa38be87c Debugger[Python]: Deactivate QObject-Properties temporarily
due to it causing Windows gdb to crash.
Reviewed-by: hjk
2010-08-13 14:50:39 +02:00
hjk
ae55b43c37 debugger: fix display of QObject properties
This is a backport of 5d645bfdfe
2010-08-13 09:57:35 +02:00
hjk
7eedfb72bc debugger: improve robustness in the presence of outdated debug information 2010-07-09 10:59:52 +02:00
hjk
bcdcbc2f70 debugger: backport small fixes and synchronized code layout with master 2010-07-06 12:44:32 +02:00
hjk
1ce66f8d7a debugger: fix list of members in case gdb reports '_class_ SomeClass' 2010-07-06 10:51:50 +02:00
hjk
9aa75a7f1e debugger: cache results of gdb.lookup_type 2010-07-06 10:47:41 +02:00
hjk
fdc5ac7f4d debugger: fix array dumper 2010-06-29 10:10:08 +02:00
hjk
0ae5286a4a debugger: fix display of typedefs-of-typedefs, such as qulonglong 2010-06-28 11:45:08 +02:00
hjk
896907f78c debugger: be nicer in the presence of missing debug information 2010-06-01 14:33:26 +02:00
hjk
a45bfdc4e6 debugger: improve QVariant(QString) dumper
(partially cherry picked from commit dd714e9ccb)
2010-05-26 17:41:09 +02:00
hjk
b61e32371f debugger: fix display of children of objects passed by reference.
The value was adjusted to the referenced value but it was not used
when dumping the members, basically leading to an empty child list
in such cases.
2010-05-26 13:34:54 +02:00
hjk
8cd3b67a74 debugger: some refactoring of the python dumpers
Now it's easy to suppress "uninformative" intermediate levels in the
Locals & Watchers by using the new  Dumper.putFields() function.
Used in qdump__QUrl
2010-04-23 10:39:44 +02:00
hjk
c4dbe9530e debugger: fix python version of QModelIndex etc dumpers. 2010-04-21 14:48:43 +02:00
hjk
8bbe26c35c debugger: fix for QTCREATORBUG-1180 2010-04-16 14:08:37 +02:00
hjk
543826cb12 debugger: potential fix for QTCREATORBUG-1183 2010-04-16 13:26:46 +02:00
hjk
cfe771cc37 debugger: fix for "Can not step into functions on Symbian" QTCREATORBUG-1185 2010-04-16 11:50:00 +02:00
hjk
76fed505ac debugger: fix QString dumper
Doh! In contrast to the C++ version we are operating on ushort* here.
2010-04-12 15:45:36 +02:00
Friedemann Kleint
614d09da88 Debugger[gdb/MingW]: Add import statements for Python 2.5 2010-04-09 10:52:01 +02:00
hjk
0ac8388847 debugger: fix some encoding issues, modify manual tests 2010-04-08 14:39:21 +02:00
hjk
b70c0978d1 debugger: rework error handling in python dumpers 2010-04-08 14:08:40 +02:00
hjk
66a7cc2830 debugger: show contents of pointer instead of its address in the python dumpers 2010-04-07 18:18:45 +02:00
Friedemann Kleint
17884141da Debugger/gdb: Fix Python temporary file creation Windows.
Reviewed-by: hjk
2010-03-30 16:44:26 +02:00
hjk
89ae26419c debugger: use tempfile.NamedTemporaryFile instead of tempfile.mkstemp 2010-03-25 12:29:51 +01:00
hjk
59af793953 debugger: polish address display. also remove the mostly unused 'stored' address 2010-03-23 14:48:32 +01:00
hjk
337f3eef2e debugger: remove accidentally committed debug output 2010-03-23 11:49:36 +01:00
hjk
4d9900a1b9 debugger: more robust parsing of gdb cli output in the presence of spurious
warnings
2010-03-22 13:12:53 +01:00
hjk
ef44cb24d2 debugger: fix expanding pointers inside anonymous namepaces 2010-03-18 18:10:28 +01:00
hjk
72d90fd5ee debugger: merge multiple fancy views of the same object 2010-03-17 13:25:29 +01:00
hjk
d80d68b73b debugger: base individual formats on object addresses, not on inames 2010-03-17 12:38:37 +01:00
hjk
ba17fb205a debugger: update peek&poke 3 example 2010-03-17 11:44:29 +01:00
hjk
c2b77a2274 debugger: fix evaluation of complex watchers 2010-03-16 18:45:34 +01:00
hjk
9db033f672 debugger: make python dumper more robust when python modules are missing 2010-03-16 18:45:34 +01:00
hjk
59429c1005 debugger: remove inclusion of unneeded python module 2010-03-16 18:45:34 +01:00
hjk
ed35ec3d5a debugger: use pseudo-enums instead of magical constants in python dumpers 2010-03-16 12:08:33 +01:00
hjk
e8936ad9d2 debugger: code cosmetics for custom displays 2010-03-16 12:08:33 +01:00
hjk
0cd06f55bc debugger: don't hard code typeformats except for ints and strings 2010-03-16 12:08:33 +01:00
hjk
463ac5d689 debugger: start reviving graphical data display 2010-03-15 12:12:43 +01:00
hjk
c8a61cc8f2 debugger: implement selected of string encoding per pointer type/individual pointer 2010-03-11 18:56:28 +01:00
hjk
693013fa14 debugger: fix recent regression in partially anonymous structures 2010-03-10 15:26:37 +01:00
hjk
96eb8e962a debugger: always remove the extra nesting level for 'this' 2010-03-09 12:26:18 +01:00
hjk
8e522c92ee debugger: really don't use curses on windows 2010-03-08 14:46:28 +01:00
hjk
62811941de debugger: fix display of QContainer<T>::NestedType 2010-03-08 14:46:28 +01:00
Thiago Macieira
20429a84aa Use __builtin__.dir instead of dir in Python
Somehow, some gdb define a string with the name 'gdb' and we can't
find where. But be on the safe side and use the builtin function
always.

Reviewed-By: hjk
2010-03-05 16:44:49 +01:00
hjk
5d9e17535b debugger: work on QAbstractItemModel dumper (still defuct) 2010-03-05 16:44:49 +01:00
hjk
b1ab5a6948 debugger: disable currently broken QAbstractItemModel dumper 2010-03-05 16:44:49 +01:00