Commit Graph

48 Commits

Author SHA1 Message Date
hjk
05b77b958d debugger: make activateFrame() dispatch properly to the qml/cpp slaves 2011-01-19 18:59:53 +01:00
hjk
77afdb42af debugger: in the qmldebugger, draw location marker _above_ breakpoints 2011-01-19 18:53:30 +01:00
hjk
49710f3986 debugger: show combined C++/QML stack 2011-01-19 17:34:47 +01:00
hjk
fd3d7de92c debugger: implement qml->c++ cross-stepping 2011-01-19 15:16:11 +01:00
hjk
c736cc3c8d debugger: use 'maint print msymbols' to extract Qt's namespace
still racy
2011-01-19 14:07:51 +01:00
hjk
331ebd5be1 debugger: simplify combined state handling 2011-01-17 10:07:33 +01:00
hjk
13caaabaff debugger: remove InferiorStopSpontaneous state again 2011-01-17 10:07:33 +01:00
hjk
bdfe2ed53b debugger: remove EngineRunOk state again 2011-01-17 10:07:33 +01:00
hjk
cdee3dc6cd debugger: some start up state consolidation 2011-01-17 10:07:33 +01:00
hjk
f245ee6fb5 debugger: finish combined shutdown properly 2011-01-17 10:07:32 +01:00
hjk
1aef962e5a debugger: first shot at combined cpp/qml stepping 2011-01-14 17:09:18 +01:00
hjk
7195c6b5ad debugger: re-do state transitions in combined C++/Qml engine
This still needs a lot of work and sanitizing.
2011-01-14 14:28:36 +01:00
hjk
6834c45651 debugger: prepare qmlcppengine state fix 2011-01-14 14:28:36 +01:00
hjk
83fa3ce320 debugger: don't display slave data 2011-01-14 14:28:36 +01:00
hjk
c77172d9ce debugger: qmlcppengine: the model multiplexing is done by the master now 2011-01-14 14:28:36 +01:00
hjk
baab89762e debugger: QmlEngine: rename master/slave into cpp/qml 2011-01-12 14:14:57 +01:00
hjk
6dd55aa471 debugger: introduce generic master/slaves engine 2011-01-12 12:17:47 +01:00
hjk
eb701fc7a8 debugger: start on integrated combined c++/qml debugging 2011-01-12 12:17:25 +01:00
Friedemann Kleint
46647f49d8 Debugger[New CDB]: Move from namespace Cdb to Internal. 2011-01-11 11:06:15 +01:00
Friedemann Kleint
a7eccce733 Debugger: Header cleanup 2011-01-10 10:14:23 +01:00
Friedemann Kleint
01d4c5a3d3 Debugger: R.I.P. old CDB engine. 2011-01-07 15:04:54 +01:00
hjk
fb837b5230 debugger: s/*ViewAgent/*Agent/ to reduce noise and match file names 2010-12-14 13:10:07 +01:00
hjk
77e3bfe845 debugger: structural cleanup remote debugging
Use virtual function instead of if/qobject_cast cascades.
2010-12-10 12:42:40 +01:00
hjk
d9210302ce debugger: mover qml related engines to the Internal namespace 2010-12-03 12:07:32 +01:00
hjk
a77353b414 debugger: move DebuggerMainWindow to debuggermainwindow.{h,cpp} 2010-12-02 17:43:14 +01:00
hjk
8baa54e701 debugger: code cosmetics 2010-11-26 11:27:44 +01:00
hjk
75ee5bce8c debugger: make DebuggerEngine::acceptsBreakpoint(id) pure 2010-11-26 11:27:43 +01:00
hjk
585bb50d89 debugger: move qml engine private classes to internal namespace 2010-11-22 14:13:23 +01:00
Christiaan Janssen
d992b223f6 QmlDebugger: Fixing QmlCppEngine for failed setup due to timed out connection 2010-11-16 16:23:50 +01:00
Christiaan Janssen
4790548216 QmlDebugger: Refactored QmlEngine and QmlCppEngine
Reviewed by:  hjk
2010-11-15 17:18:00 +01:00
hjk
8ae541b36f debugger: Refactor breakpoint handling.
The breakpoints are now (fairly) tightly guarded by the BreakpointHandler.
Engines and Views are only supposed to refer to them by id. They also have
individual states now. The breakpoint data is split into a "user requested"
"fixed" part in BreakpointData and the engines' acknowledged data in a new
struct BreakpointResponse.

TODO: Move m_state and m_engine members to BreakpointResponse. Fix regressions
in the marker handling.
2010-11-15 12:09:25 +01:00
hjk
2161e0f6d9 debugger: refactoring of the plugin interface
There's  some 'external' and some 'internal' part now. Other plugins
are only supposed the external interface.
2010-11-10 12:08:23 +01:00
hjk
98ea2b8b4c debugger: kill command handler & company 2010-11-08 15:19:41 +01:00
hjk
8e62715130 debugger: move logical ownership of breakhandler from engines to plugin 2010-11-04 09:55:05 +01:00
Tobias Hunger
cf3a418cd8 Fix spelling in comments
Krazy was complaining about those.
2010-11-03 12:45:34 +01:00
hjk
6a7cbac057 debugger: code cosmetics 2010-10-27 15:23:30 +02:00
hjk
7e1d46310e debugger: renaming, part II 2010-10-27 15:05:37 +02:00
Christiaan Janssen
3938cd671b DebuggerEngine: fixed race condition at qml engine startup
Reviewed by: hjk
2010-10-20 13:45:04 +02:00
Christiaan Janssen
6be0a8b338 QmlCppDebugger: failing gracefully when cdb engine cannot be initialized
Reviewed by:  Friedemann Kleint
2010-10-06 17:18:31 +02:00
Friedemann Kleint
58865c35b0 Debugger[CDB]: Handle 'enabled' configuration setting.
Pass on error message when engine creation fails.

Reviewed-by: hjk
Task-number: QTCREATORBUG-2608
2010-10-05 14:30:26 +02:00
Christiaan Janssen
24912c3f2e QmlObserver: breakpoint list is shared between engines
Reviewed by:  Kai Koehne, Andre Poenitz
2010-10-05 11:01:14 +02:00
Friedemann Kleint
13c97d652e Debugger: Fixes around watch editing.
assignValueInDebugger: Pass on WatchData as well, pass
on values as QVariant. Based on that, do more extensive
checks in CDB, preventing assignment of non-PODs.

Locals/Watch editing:
* Disable while running
* Edit pointer values as hex with validation.

CDB: Strip class types off reported pointer values and reformat
the values as short 0x-pointer values, introduce flag to
WatchData::source to do dumper expansion handling.

Windows: recognize int64 as int.

Register handler: Fix accessing uninitialized value.
2010-09-23 13:22:08 +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
4cbbe366af debugger: make a 'type' a QByteArray, not a QString
Saves lots of conversion.
2010-09-01 17:36:09 +02:00
hjk
56fd90e5cc debugger: fix spelling of synchronous
Finally.
2010-08-30 10:38:38 +02:00
Lasse Holmstedt
7afef49682 Qml Debugger: Code style and cleanup
Reviewed-by: hjk
2010-08-24 17:47:20 +02:00
Lasse Holmstedt
b557c58eac Qml Debugger: Enable debugging qml+cpp standalone applications
A new debugger engine, QmlCppEngine, is introduced, which wraps gdb
and qml engines into one. Alternatively, if using Windows, Cdb is used
instead of Gdb.

Most of the debugger ui switcher is now rewritten, and it is tailored
for the QML and CPP layout case, the only one supported anyway.

Reviewed-by: hjk
2010-08-24 17:46:22 +02:00