Commit Graph

476 Commits

Author SHA1 Message Date
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
Oswald Buddenhagen
dc3c156cac Merge branch '2.2'
Conflicts:
	src/plugins/debugger/gdb/pythongdbengine.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
	src/plugins/qt4projectmanager/qt4target.cpp
	src/plugins/qt4projectmanager/qt4target.h
	src/plugins/qt4projectmanager/qtoptionspage.h
	src/plugins/qt4projectmanager/qtversionmanager.cpp
	src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +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
Bill King
5e372a165f Merge branch '2.2'
Conflicts:
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotarget.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotarget.h
2011-04-05 16:43:24 +02:00
Friedemann Kleint
05a6c511fa Debugger[gdb]: Fix QUrl dumper.
"encodedOriginal" is a QByteArray.

Reviewed-by: hjk
2011-04-04 15:14:04 +02:00
hjk
f130cd16a8 debugger: add QXmlAttributes manual test 2011-03-29 14:57:41 +02:00
hjk
0cf596c983 debugger: implement dumper for QRegExp 2011-03-29 09:28:23 +02:00
hjk
0a9ef41b81 debugger: add some manual test code for MPI related data stuctures 2011-03-17 13:40:02 +01:00
hjk
42a7fd55fe debugger: add dumper for boost::shared_ptr 2011-03-04 17:24:59 +01: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
6963dc9b32 debugger: make members of QObjectPrivate derived data visible 2011-03-01 14:15:26 +01:00
hjk
5977545423 debugger: write more object addresses in dumpers 2011-02-28 17:35:52 +01:00
hjk
786cfdc9a1 debugger: fix QRegion dumper
Item count is an integer, not a string.
2011-02-28 17:35:48 +01:00
hjk
00961969f4 debugger: add dead code for potential improvements of the QScriptValue dumper
Looks there is no way to proceed without inferior calls right now.
2011-02-17 14:13:04 +01:00
hjk
2f68d72286 debugger: improve QScriptValue dumper 2011-02-15 18:49:14 +01:00
hjk
047ed35579 debugger: some initial work on QTJSC::JSValue dumper 2011-02-10 17:05:09 +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
5cc14426d4 debugger: implement dumper for QBasicAtomicPointer 2011-01-27 15:03:34 +01:00
hjk
9cb8fe01c7 debugger: improve QWeakPointer dumper
strongref == -1 is valid
2011-01-27 15:03:34 +01:00
hjk
fa304b45e5 debugger: make qt namespace retrieval more robust 2011-01-17 15:24:14 +01:00
hjk
ad2be7e4dc debugger: remove CDB specific bits that are not used anymore 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
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +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
con
b1bcf081d8 Merge branch '2.1'
Conflicts:
	src/plugins/coreplugin/basemode.cpp
	src/plugins/coreplugin/basemode.h
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
	src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
	src/plugins/debugger/debuggeragents.cpp
	src/plugins/debugger/debuggeruiswitcher.cpp
	src/plugins/debugger/debuggeruiswitcher.h
	src/plugins/projectexplorer/buildconfigdialog.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
	src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
	src/plugins/qmldesigner/designercore/include/modelutilities.h
	src/plugins/qmldesigner/designercore/include/nodeinstance.h
	src/plugins/qmldesigner/designercore/include/propertymetainfo.h
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
	src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
	src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
	src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
	src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
	src/plugins/qmldesigner/designercore/model/modelutilities.cpp
	src/plugins/snippets/inputwidget.cpp
	src/plugins/snippets/snippetscompletion.cpp
	src/plugins/snippets/snippetscompletion.h
	src/plugins/snippets/snippetspec.cpp
	src/plugins/snippets/snippetsplugin.cpp
	src/plugins/snippets/snippetswindow.cpp
	src/plugins/snippets/snippetswindow.h
	src/plugins/texteditor/snippetsparser.cpp
	src/tools/qml/qmldom/main.cpp
	tests/manual/trk/runner.cpp
	tests/manual/trk/trkolddevice.cpp
	tests/manual/trk/trkolddevice.h
	tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
hjk
8062222e0f debugger: fix display of C style 'typedef struct X { ... } X;' types. 2010-12-16 13:35:41 +01:00
hjk
0277bab017 debugger: make connection list count formally correct
Task-number: QTCREATORBUG-2785
2010-12-16 12:32:55 +01:00
Roberto Raggi
b4e421062f Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers. 2010-12-16 12:05:48 +01:00
Robert Loehning
fbc005706c debugger: Checking size of array in qDumpQByteArray 2010-12-14 15:51:23 +01:00
hjk
e3886aaf4e debugger: display array base address as default value 2010-12-14 15:12:14 +01:00
hjk
6222ba81a0 debugger: make QObject dumper more robust for symbian 2010-12-06 13:24:34 +01:00
hjk
fa2ae04ba3 debugger: fix QMultiMap dumper
Task-number: QTCREATORBUG-3122
2010-12-01 14:54:27 +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