Commit Graph

145 Commits

Author SHA1 Message Date
hjk
e760700f0f debugger: overhaul "state machine"
This mainly allows for more precise shutdown and tightens the set
of allowed transitions.
2010-07-14 17:49:16 +02:00
Friedemann Kleint
6b44b30285 Manual tests: Rename profiles to avoid conflicts. 2010-07-14 09:56:58 +02:00
hjk
d532180b3c debugger: add manual test to handle console input 2010-07-07 17:51:42 +02:00
hjk
bb3a6f05d0 debugger: add test code for signal/slot debugging 2010-07-07 17:32:50 +02:00
hjk
979e2c299c debugger: improve QRegion dumper
Don't use inferior calls anymore.
2010-07-01 09:44:18 +02:00
hjk
74bf5d98e3 debugger: add a simple-minded dumper for QRegion 2010-06-30 15:21:39 +02:00
hjk
5adefac634 debuggger: fix dumping of array of string types 2010-06-29 12:02:02 +02:00
hjk
effc5abdd8 debugger: don't try to compute tooltip if it's not shown 2010-06-29 10:58:29 +02:00
hjk
060385b41c debugger: make QVector dumper show address of elements.
Also speed up dumping a bit by using 'put' instead of 'putField' when
appropriate.
2010-06-28 14:07:16 +02:00
hjk
d059459d9f debugger: make qulonglong visible in Local&Watchers
Only one level of typedef was stripped, but qulonglong has two.
2010-06-28 10:30:18 +02:00
hjk
6493b4853d debugger: adjust loading/saving of watched expressions to recent changes 2010-06-25 10:21:39 +02:00
hjk
6a6cba5518 debugger: The DebuggerEngine refactoring.
This replaces the (de facto) singleton engines and data handlers by classes
that are instantiated per run. The DebuggerRunControl will now create an
object of (a class derived from) DebuggerEngine that contains all the relevant
"dynamic" data.

DebuggerManager is no more. The "singleton" bits are merged into DebuggerPlugin,
whereas the data bits went to DebuggerEngine.

There is no formal notion of a "current" DebuggerEngine. However, as there's
only one DebuggerEngine at a time that has its data models connected to the
view, there's still some "de facto" notion of a "current" engine. Calling
SomeModel::setData(int role, QVariant data) with custom role is used as the
primary dispatch mechanism from the views to the "current" data models
(and the engine, as all data models know their engine).
2010-06-22 10:59:57 +02:00
hjk
628cf52f94 debugger: add an option to filter out locals for easier debugger debugging 2010-06-14 10:45:10 +02:00
hjk
1cf7fbb6e6 debugger: refactor python dumper initialization 2010-06-10 15:11:38 +02:00
Tobias Hunger
5d5f647f3d Fix preprocessor directives
* The standard says all preprocessor directives have to start
   at column 0.
2010-06-10 13:28:14 +02:00
hjk
1547ddb791 debugger: add some dynamic properties to the QObject manual test 2010-06-09 12:06:08 +02:00
hjk
c60745911a debugger: make the manual test compile with llvm 2010-06-08 17:09:50 +02:00
hjk
bb824a7401 debugger: fix renaming of manual test .pro file
Part of this change was alreadry accidentally committed in b1e63fff9.
2010-06-07 13:23:27 +02:00
hjk
b1e63fff98 doc: adjust after changes to the debugging helpers 2010-06-07 13:18:28 +02:00
hjk
55c9c78153 debugger: add to manual test 2010-06-02 09:30:35 +02:00
hjk
1b3e9db046 debugger: implement "old" QSize and QSizeF dumpers, re-enable QImage/QPixmap 2010-05-28 15:48:20 +02:00
hjk
25a30c402b debugger: add some wcout related tests 2010-05-28 13:16:13 +02:00
hjk
5805788290 Merge remote branch 'origin/2.0'
Conflicts:
	src/plugins/projectexplorer/miniprojecttargetselector.cpp
	src/plugins/qmldesigner/designercore/model/modeltotextmerger.cpp
	src/plugins/qmldesigner/designercore/model/rewriteactioncompressor.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h
	tests/manual/gdbdebugger/simple/app.cpp
2010-05-27 11:11:53 +02:00
hjk
69c84c9cc3 debugger: fix QList dumper for large movable objects
Doh!
(cherry picked from commit df0e1e5625)
2010-05-26 17:22:59 +02:00
hjk
34f24e092f debugger: add manual test for arguments passed by reference 2010-05-26 14:43:50 +02:00
hjk
dd714e9ccb debugger: improve QVariant(QString) dumper 2010-05-20 13:14:44 +02:00
hjk
df0e1e5625 debugger: fix QList dumper for large movable objects
Doh!
2010-05-20 13:14:44 +02:00
hjk
58cbf845fa debugger: add address of pointees of generic pointers 2010-05-19 14:19:33 +02:00
hjk
c50dd85088 debugger: show return value of last function call in Locals and Watchers view
Works only with gdb/Python so far.
2010-05-19 12:00:56 +02:00
hjk
aae6810722 debugger: fix display of QStringList after a takeFirst();
(cherry picked from commit f9e6a96395)
2010-05-06 16:59:41 +02:00
hjk
f9e6a96395 debugger: fix display of QStringList after a takeFirst(); 2010-05-06 16:24:12 +02:00
hjk
19ece94246 debugger: add example for non-alphabetically sorted struct members 2010-05-05 11:46:29 +02:00
hjk
24d1fbd15b debugger: support for per-thread breakpoints 2010-04-30 13:41:19 +02:00
hjk
0733a70dd4 debugger: add simple QUrl dumper 2010-04-23 09:58:31 +02:00
hjk
c4dbe9530e debugger: fix python version of QModelIndex etc dumpers. 2010-04-21 14:48:43 +02:00
Friedemann Kleint
5a659e1425 Manual debug test: Make usable for VS 2010-04-20 12:09:58 +02:00
hjk
0c0b430fba debugger: add python dumper for __gnu_cxx::hash_set 2010-04-15 18:29:25 +02:00
hjk
0ac8388847 debugger: fix some encoding issues, modify manual tests 2010-04-08 14:39:21 +02:00
hjk
88a1db1787 debugger: compile fix for manual test on windows
min and max are #defined
2010-04-07 15:23:37 +02:00
hjk
27b1df583a debugger: add comment to not test QStandardItemModel with python dumpers 2010-04-07 14:45:01 +02:00
hjk
5d59945646 debugger: add a manual test for an endless loop and check for
-thread-group-started in addition to -thread-group-created
2010-04-07 09:19:36 +02:00
hjk
275f957c48 debugger: compile fix for test application with RVCT 2010-03-30 17:38:57 +02:00
hjk
66e0201117 debugger: add some bits to the manual tests 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
a2ad2bd5fa debugger: work on QVariant dumper 2010-03-18 13:13:01 +01:00
hjk
ba17fb205a debugger: update peek&poke 3 example 2010-03-17 11:44:29 +01:00
hjk
4df33ec24c debugger: add manual test 2010-03-16 18:45:34 +01:00
hjk
43b4129d60 debugger: add a hint to manual test. 2010-03-16 12:08:54 +01:00
hjk
e8936ad9d2 debugger: code cosmetics for custom displays 2010-03-16 12:08:33 +01:00
hjk
c8a61cc8f2 debugger: implement selected of string encoding per pointer type/individual pointer 2010-03-11 18:56:28 +01:00