Christian Kandeler
f08e42f9ec
Maemo: Fix QML debugging.
...
In general, at least. Does not actually stop at breakpoints yet.
2011-02-11 16:03:34 +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
5ac9a19465
QmlDebugger: displaying tooltips while qml is running
...
Reviewed-by: hjk
2011-01-25 11:05:15 +01:00
hjk
6dd55aa471
debugger: introduce generic master/slaves engine
2011-01-12 12:17:47 +01:00
hjk
b4d6a5ba2a
debugger: fix qml output channeling
2011-01-10 10:18:45 +01:00
con
b1bcf081d8
Merge branch '2.1'
...
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
hjk
9757e22113
debugger: introduce the concept of a 'Location', used by gotoLocation
2010-12-17 11:59:01 +01:00
Kai Koehne
bde8287cdd
QmlDebugger: Also log messages from JSDebugger to debug console
2010-12-17 10:19:00 +01:00
hjk
2c46a935df
debugger: make more bits private
2010-12-03 16:18:50 +01:00
hjk
d9210302ce
debugger: mover qml related engines to the Internal namespace
2010-12-03 12:07:32 +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
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
Christian Kandeler
548df9385b
Maemo: Use dynamic port list.
...
Check whether the ports we need are actually available on the device.
As a side effect, this makes it possible to debug more than one
application at the same time on Maemo.
Task-number: QTCREATORBUG-2702
2010-11-02 14:27:18 +01:00
hjk
6a7cbac057
debugger: code cosmetics
2010-10-27 15:23:30 +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
dt
6b6d9871b8
Merge remote branch 'origin/2.1'
...
Conflicts:
share/qtcreator/templates/mobileapp/app.pro
share/qtcreator/templates/qmlapp/app.pro
src/plugins/cpptools/cpptools.pro
2010-10-04 16:07:46 +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
Kai Koehne
226a82d3dc
QmlDebugger: Log status of different services
...
Reviewed-by: Christiaan Janssen
2010-10-01 13:43:42 +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
Christian Kandeler
ae4c35bd86
Maemo: Support QML-only debugging.
...
Reviewed-by: kh1
2010-09-16 17:08:58 +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
Christiaan Janssen
1c702357a6
QmlInspector: tooltips in qmldebug mode
...
Reviewed by: Lasse Holmstedt
2010-09-08 16:53:44 +02:00
Lasse Holmstedt
f1ff2a01cc
QML Debugger: Mangle shadow build filenames
...
Without doing some magic for the filenames, we go to shadow build files
instead of the real ones, resulting in confusion. The user should never
see the shadow build files while debugging.
Reviewed-by: hjk
2010-09-08 14:55:07 +02:00
hjk
56fd90e5cc
debugger: fix spelling of synchronous
...
Finally.
2010-08-30 10:38:38 +02:00
Lasse Holmstedt
31c8b444db
QML Debugger: Show error messages when connection is lost
...
Related to Qt commit bd521ed56f8e4be7117dc3534c6fded68f7a70c5
2010-08-27 13:12:05 +02:00
Olivier Goffart
fc1be8b488
Qml Javascript Debugger: add a script console widget.
...
The scriptconsole layout come from the old qmlinspector
2010-08-26 17:49:10 +02:00
Olivier Goffart
af46c3d947
qml debugger: make the application output work
2010-08-26 11:26:32 +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
Lasse Holmstedt
b71c3c62ba
QML Debugger refactoring
...
Now, QmlEngine creates the connection to the inferior (debuggee), and
notifies QmlInspector when a connection is established. Before,
inspector created the debugger engin, which was wrong.
QmlEngine's responsibilities are connecting to the debuggee and basic
QML/JS debugging features like locals & watchers, breakpoints etc.
QmlInspector takes care of Live Preview and other fancy inspection
features.
Reviewed-by: hjk
2010-08-13 14:20:39 +02:00
Olivier Goffart
d75239aeab
QML Debugger: fix the fact that the qmlobserver would only run once.
2010-08-10 14:42:53 +02:00
Olivier Goffart
9df9695a7f
debugger: get rid of the private header dependency
...
Removed the CanvasFrameRate class as it is not used, and
depends on private Qt API
2010-08-10 10:10:39 +02:00
Olivier Goffart
87c7ca5c9c
remove dead code
2010-08-06 16:06:01 +02:00
Olivier Goffart
6d9209b88f
QML Debugger: Get rid of all the useless commented code
2010-08-04 17:21:26 +02:00
Olivier Goffart
f3cdbeff63
QmlJsInspector: remove private header dependencies
...
A copy of the client debugging code is made in src/libs/qmljsdebugclient/
(this comes from the qt code from commit 65642dd343bf61)
So the qmljsinspector plugin does not require anymore Qt private headers.
2010-07-29 14:36:11 +02:00
Olivier Goffart
70f3f5d029
QML JS Debugger: Asynchronous call to watchHandler()->endCycle()
...
All the expended item need to be retreived before we can call endCycle
2010-07-23 11:48:47 +02:00
Olivier Goffart
bdb2e751e0
remove some qDebug()
2010-07-22 15:35:27 +02:00
Olivier Goffart
050905157c
QML JS Debugger: Be able to expand objects
2010-07-22 15:23:36 +02:00
Olivier Goffart
bfa609e336
QML JS Debugger: Better way to stream watch data
...
QVariant does not work as they can contain custom type that corrypt the stream
2010-07-22 13:18:04 +02:00
Olivier Goffart
ac73d0a9eb
debugger: Remove or comment out code that is not being used.
...
Will help to clean up later.
2010-07-16 12:17:13 +02:00
Olivier Goffart
0931948c01
QML JS debugging: premilary support of locals
...
Unfortunatelly, streaming QVariant is not a really good idea, as streaming
a custom type would fail
2010-07-16 12:02:47 +02:00
hjk
887e21da56
debugger: more state work
2010-07-14 17:49:17 +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
9e7a456457
debugger: refactor startup logic
2010-07-14 17:49:16 +02:00
Olivier Goffart
896e898369
debugger: comment out the code that runs the qmlviewer from QMLEngine
...
the qmlviewer is currently started from the qmljsinspector.
But this might change in the future
2010-07-08 17:27:23 +02:00
hjk
f8d96f09a6
debugger: rename startDebugger() to startEngine()
2010-07-08 13:48:09 +02:00