Commit Graph

111 Commits

Author SHA1 Message Date
Friedemann Kleint
75f4b9cf25 Debugger: Add toolchain combos to start dialogs, refactor detection.
Add combo box listing toolchains with debuggers to start external,
attach and core.
Another attempt at streamlining engine detection:
Split in detection functions that first collect a list of
available engines by preference, then remove disabled and
wrongly configured engines and use the remaining best.
matching. checkconfiguration is now the central place where
engine detection and config check takes place.

Rubber-stamped-by: hjk
2011-02-24 16:50:15 +01:00
Kai Koehne
1a3ed101cb QmlDebug: Parse application output to track debugees state
Setting up the debugger connection might fail for a couple of reasons.
Check the application output to show the user a more detailed error
message.

Reviewed-by: hjk
2011-02-23 17:02:34 +01:00
hjk
5f38a26c9e debugger: fix 'Jump To/Run to' when in instruction-wise mode 2011-02-23 11:11:39 +01:00
Tobias Hunger
fe33a0984e More copyright fixes 2011-02-18 10:37:19 +01:00
Friedemann Kleint
c74da9b7c5 Debugger: Reduce tooltip flicker.
Move tooltip-request handling from DebuggerPlugin into
DebuggerToolTipManager.

Request tooltip only if position changed and close
standard tooltip on success.
2011-02-17 10:11:23 +01:00
Friedemann Kleint
ef800d296f Debugger[Tooltips]: Connect signals of QmlCppEngine. 2011-02-11 15:12:44 +01:00
Friedemann Kleint
0ac879e39f Debugger: Make tooltips pinnable.
Replace old debugger tooltip by a new ToolTipManager which
has a list of AbstractDebuggerToolTipWidget with the functionality
to 'acquire' an engine (display its data) and 'release' it
(store engine data and display them as 'previous') and serialization
to XML session data.
DebuggerTreeViewToolTipWidget implements AbstractDebuggerToolTipWidget
for tree model acting as  a filter on watch models.

Rubber-stamped-by: hjk
2011-02-11 15:09:02 +01:00
Christiaan Janssen
9ccd03ba01 QmlDebugger: reseting internal state on engine setup
reviewed-by: Friedemann Kleint
2011-02-08 16:20:30 +01:00
Christiaan Janssen
e6610124f3 QmlCppDebugger: managing breakpoints during engine start
reviewed-by: hjk
2011-02-02 15:14:14 +01:00
Christiaan Janssen
3a3d9c14b9 QmlCppDebugger: frame change now managed by DebuggerEngine
reviewed-by: hjk
2011-02-02 13:39:11 +01:00
Christiaan Janssen
2c5d94c3c9 QmlCppDebugger: adjusted state changes when one engine fails
reviewed-by: hjk
2011-02-02 12:31:40 +01:00
hjk
1160c3e92d debugger: fix cpp single stepping after cross-step 2011-01-25 10:47:18 +01:00
hjk
63666f9f8b debugger: fix the handling of two stopped slaves 2011-01-19 19:28:16 +01:00
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