Commit Graph

34 Commits

Author SHA1 Message Date
Friedemann Kleint
edeccf7307 Debugger: Fix dumpers in case alphabetical sorting is off.
No longer change iname to obtain sorting.

Reviewed-by: hjk
2010-10-08 14:57:39 +02:00
hjk
034bb72dc4 debugger: make alphabetic sorting of struct members optional.
Task-number: QTCREATORBUG-1608
2010-09-23 11:17:01 +02:00
Friedemann Kleint
f7b19f8114 Debugger: Move DebuggerEngine/QmlEngine/QmlCppEngine into Debugger{}
namespace (from Debugger::Internal) as they are exported classes.
Introduce private classes to avoid exposing private JS debugger
headers.
2010-09-13 13:30:35 +02:00
hjk
7457083bab debugger: only update variables that are operated on 2010-09-13 08:32:37 +02:00
hjk
3f36dbd81a debugger: simplify code for inserting new watchitems 2010-07-23 18:20:13 +02:00
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
hjk
a59f45c576 debugger: try to improve tooltip handling
Still far from usable.
2010-07-07 17:32:50 +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
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
9f7e9dc0ae debugger: refactoring of output channeling 2010-06-14 18:22:09 +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
Friedemann Kleint
ef5b4b8ec5 Debugger: Introduce env QTC_DEBUGGER_PYTHON_VERBOSE
for verbose python error hunting.
Rubber-stamped-by: hjk
2010-05-26 14:35:06 +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
2f69bae63f debugger: gather more information on threads when easily available 2010-05-18 12:13:27 +02:00
hjk
24d1fbd15b debugger: support for per-thread breakpoints 2010-04-30 13:41:19 +02:00
hjk
6bb7b6176f debugger: add a cut-down version of the dumpers for python 2010-04-27 15:33:23 +02:00
hjk
9a8ac49c2c debugger: new files for WatchData; move potentially shared code to watchutils.cpp 2010-04-27 15:33:22 +02:00
hjk
c8a61cc8f2 debugger: implement selected of string encoding per pointer type/individual pointer 2010-03-11 18:56:28 +01:00
hjk
3066162eb4 debugger: avoid a few watchmodel rebuilds, also reset location markers properly 2010-03-10 17:39:42 +01:00
hjk
dd7abf87a6 debugger: empty list of fetched variables at the end of the full cycle
The original logic was faulty but worked better in the presence of the
original "extra layoutChanged()" hack which is replaced now.
2010-03-09 17:50:24 +01:00
hjk
a14b1a580c debugger: next attempt at fixing the "can't open items in locals view" issue. 2010-03-08 14:46:28 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
hjk
172a1ae492 debugger: sanitize breakpoint setting sequences 2010-03-03 18:10:21 +01:00
hjk
839ad4dae7 debugger: rename some watch-update related variables to prepare a similar
mechanism for breakpoints.
2010-03-03 18:10:17 +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
0bde89eee3 debugger: use the direct access withing trkadapter to list threads 2010-02-08 13:02:25 +01:00
hjk
42eac3c9a8 debugger: handle symlinked source files a bit better 2010-02-05 15:33:40 +01:00
hjk
4cba453a1e debugger: let python handle the listing of breakpoints
TODO: only transfer deltas
2010-02-05 15:23:44 +01:00
hjk
33695b8155 debugger: fix e539f5bda 2010-02-05 15:23:44 +01:00
hjk
c64b202a2c debugger: fix unneeded fetchMore() calls by removing a mis-placed beginCycle() 2010-02-04 13:28:51 +01:00
Friedemann Kleint
74977e1290 Debugger: Fix some code scanning issues. 2010-02-03 17:22:44 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
hjk
67bf3f2333 debugger: fix recent regression (infinite loop on stack-list-locals) 2010-01-29 15:48:17 +01:00
hjk
cdae30ccdb debugger: start splitting off python and non-python specific bits 2010-01-21 17:19:08 +01:00