Commit Graph

17 Commits

Author SHA1 Message Date
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
Tobias Hunger
e85bfa7073 Windows: Fix some warnings 2010-11-15 17:51:54 +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
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
hjk
6a7cbac057 debugger: code cosmetics 2010-10-27 15:23:30 +02:00
Christiaan Janssen
05a89496e0 QmlObserver: breakpoint list is shared between engines
Reviewed by:  Kai Koehne, Andre Poenitz
2010-10-04 10:20:33 +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
Christian Kandeler
03492f24da QML debugging: Adaptations for Maemo.
Reviewed-by: Lasse Holmstedt
2010-09-08 14:27:13 +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
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