Commit Graph

123 Commits

Author SHA1 Message Date
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
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
hjk
8e522c92ee debugger: really don't use curses on windows 2010-03-08 14:46:28 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
hjk
73ef5e33ea debugger: properly display function pointers with python 2010-03-01 10:28:34 +01:00
hjk
e3e6797fe5 debugger: fix display and editing of nested anonymous structures 2010-02-15 17:02:08 +01:00
hjk
47fa65be6c debugger: some basic support for 'catch catch' and 'catch throw'
Hidden in the Breakpoints context menu.
2010-02-11 17:46:05 +01:00
hjk
4030706c04 debugger: add a manual test for namespace aliases 2010-01-21 17:19:07 +01:00
Robert Loehning
830b563ceb Added library name for Q_OS_SYMBIAN. 2010-01-11 15:50:58 +01:00
hjk
7d5ef1fbf0 debugger: add a manual test with a object reference 2010-01-04 13:16:46 +01:00
hjk
ecf7517352 debugger: add a slightly more complex QObject manual test 2009-11-27 14:47:22 +01:00
hjk
7dea6766ed debugger: add manual test case for two-dimensional C array 2009-11-04 14:39:48 +01:00
hjk
54e022a97b debugger: add a manual test case for endless recursion 2009-10-01 09:02:32 +02:00
hjk
0915d3e206 debugger: add manual test for QDateTime, also extend script test a bit 2009-09-03 13:26:38 +02:00
hjk
452f108ac7 debugger: fixes and improvements related to the Locals display
Split the concepts 'enabled' and 'editable' in the dumper output
Disable "<not in scope>" entries, also fix their type.
Fix glitch in type beautification for display
Find reason for failing bulk updates.
2009-08-31 16:05:55 +02:00