Kai Koehne
56a9d9702b
Debugger: Remove actions from object pool
...
The actions were added to the object pool so that QmlJsInspector
plugin can access them. This is obsolete now.
Change-Id: I7c33428b834c372fab354b39ffeb6c8d181c162a
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com >
2012-05-14 17:11:58 +02:00
Kai Koehne
7f09d0b756
Merge QML inspector into debugger plugin
...
Merge QmlJSInspector plugin into the debugger. Also merge the
extra Inspector window with the Locals & Watchers: It now shows
the QML object tree in the running state.
Change-Id: I59ae0c1b970a48ba10ecda92ed3ba765d94b1d9c
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com >
2012-05-09 12:42:44 +02:00
Aurindam Jana
0b8d8568af
Debugger: DebuggerSettings and QmlJSPropertyInspector
...
QmlJSPropertyInspector is a part of the debugger view and
has dependencies on some of the actions in DebuggerSettings.
Add the needed actions to the object pool so that
QmlJSPropertyInspector can access them.
Change-Id: Iad492f1195721b5e3a9033584b1a3bf64e320b18
Reviewed-by: hjk <qthjk@ovi.com >
2012-04-17 13:01:15 +02:00
hjk
95e2c9ca57
debugger: make the selection of detach or kill explicit
...
Change-Id: I6f80047ad229e0be851b06a277ab2f899757828f
Reviewed-by: hjk <qthjk@ovi.com >
2012-03-26 16:37:42 +02:00
Aurindam Jana
147396d764
ScriptConsole: Refactor to QtMessageLogWindow
...
Move QML/JS independent classes to common Debugger
code. A Debugger Engine needs to override
evaluateScriptExpression() to provide engine
specific script evaluation.
Change-Id: I02b23b380a3eb1b12003b30ded0b7d075e44dfed
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-20 17:51:05 +01:00
Erik Verbruggen
3fa55b7ab9
Removed module names from #include directives.
...
Getting the #include directives ready for Qt5. This includes the
new-project wizards.
Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-15 16:24:46 +01:00
Kai Koehne
fe8cead2d0
Debugger: Make language to debug (QML/CPP) explicit
...
Make the choice of language part of the DebuggerStartParameters,
instead of deriving it indirectly from the current project. This
prevents e.g. the QmlCppEngine to be used when loading core files.
Change-Id: I9d1c9ab318ba789abe3a6ea0478ebda71857e793
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-01 12:14:02 +01:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
hjk
496e9fafd0
debugger: replace static capability check by something potentially dynamic
...
This does not yet use the potential.
Change-Id: I087311fb7d59b46e49f65a84c4420c72a1227ebb
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com >
2012-01-16 16:33:43 +01:00
hjk
a6ff74c0d8
ProjectExplorer: use enum instead of QString for run mode
...
Change-Id: Ia906944a489b09afdea59f74afbf759b4caebe37
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com >
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-11 13:52:26 +01:00
hjk
18d8e340e3
debugger: clearer naming for some of the remote operations
...
Change-Id: If5857d9f41ac3819c591df165ef2d8788d95089c
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-07 10:12:49 +01:00
Kai Koehne
66949f2b45
Debugger: Hide memory related actions in context menus for QML only
...
Change-Id: I29f09f983146fff3301426703db0b93090c6507c
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-01 16:34:51 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
hjk
755f5fc327
debugger: cleaner debugger aborting
...
Make the second "Abort Debugger" kill the gdb process directly
instead of relying on further communication.
Also fix some "unexpected" (but harmless) state transitions.
Change-Id: I0938ec76420fbd77ec4b7348819dd7f63763547f
Reviewed-by: hjk <qthjk@ovi.com >
2011-11-02 08:29:48 +01:00
hjk
cb430f1d70
debugger: fix order of special actions to start debugging
...
Change-Id: I0190012c4fe2ea916947561cb76e7974410fd6a1
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-10-19 12:00:41 +02:00
Kai Koehne
58f987cd07
Debugger: Always show "Start Debugging" methods
...
Don't rely on the 'current' project settings for actions like
Attach to QML port. Also, group the actions in a General,
Cpp and QML part, and add separators in between.
Change-Id: I3103a6fc777180a69eee128d39d19de17f312ff3
Reviewed-on: http://codereview.qt-project.org/6323
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-10-10 16:46:47 +02:00
hjk
c6a8b39a03
debugger: hard-code some qt5 related paths
...
This is not a final solution.
Change-Id: I19e7a99e1b056704864d27855197678a0d3fd10b
Reviewed-on: http://codereview.qt-project.org/5073
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-16 11:06:20 +02:00
Aurindam Jana
bfe5b520f1
QmlDebugger: Added dialog "Attach to QML Port..."
...
The dialog is added to Debug->Start Debugging menu option. It specifies the host
and port that the JSDebugClient connects to for listening to debug messages.
Change-Id: I7f828c169ff2338f4780025f72182c5fc8784c4a
Reviewed-on: http://codereview.qt-project.org/4824
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-09-14 11:11:31 +02:00
Friedemann Kleint
f76da43b05
Debugger: Replace virtuals by capability flags.
...
Change-Id: If09efd21dc44e356eb575bb6170356fdbd409b39
Reviewed-on: http://codereview.qt.nokia.com/2625
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-08-04 14:35:18 +02:00
hjk
a4f23dc545
debugger: re-organize actions
...
Task-number: QTCREATORBUG-5660
Change-Id: I25516dc5cab8035e3d1be7025435f1a762d1ee3c
Reviewed-on: http://codereview.qt.nokia.com/2585
Reviewed-by: hjk <qthjk@ovi.com >
2011-08-03 19:05:28 +02:00
hjk
5e410ae6cf
debugger, bookmarks: use char[] for string constants
...
Change-Id: I2ef319e4556da1b93ae82afd597e0445d1f81d8d
Reviewed-on: http://codereview.qt.nokia.com/1692
Reviewed-by: hjk <qthjk@ovi.com >
2011-07-15 11:01:52 +02:00
hjk
36a3028b9d
analyzer: refactor progress
...
Change-Id: If74c8035bc83a8113c2a15dcacefa38afbbbb4d8
Reviewed-on: http://codereview.qt.nokia.com/1056
Reviewed-by: hjk <qthjk@ovi.com >
2011-07-04 12:02:36 +02:00
hjk
2086d94866
analyzer: finish split of tools into "tools-with-modes"
...
Change-Id: I82b61c07172a33b861a7d6db903ac2516019498b
Reviewed-on: http://codereview.qt.nokia.com/1054
Reviewed-by: hjk <qthjk@ovi.com >
2011-07-04 12:02:13 +02:00
Oswald Buddenhagen
9a2814d646
introduce separate output format for windows debug channel
2011-05-12 20:39:43 +02:00
Thorbjørn Lindeijer
a547aee827
Introduced capabilities for OperateByInstruction and RunToLine
...
The ScriptEngine does not support these actions, so make sure they are
disabled in the debugger menu.
Reviewed-by: hjk
Task-number: QTCREATORBUG-2749
2011-05-09 13:13:14 +02:00
hjk
c620749b95
debugger: introduce watchpoint-by-expression
2011-05-09 09:04:55 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
hjk
ccffed9385
debugger: make F10/F11 start the app if not running and break on main
2011-05-02 18:23:04 +02:00
Friedemann Kleint
1ae9679c40
Debugger: Separate internal constants.
2011-04-21 15:52:51 +02:00
Friedemann Kleint
bbe9c6c023
Debugger/Stack layout view: Exclude Dereferenced Pointers.
...
by WatchData::referencingAddress as they are outside
the address range.
2011-04-21 13:39:40 +02:00
Friedemann Kleint
5e5e533764
Debugger: Fix up titles/tooltips of memory views.
2011-04-21 09:10:31 +02:00
Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
Conflicts:
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
src/plugins/qt4projectmanager/qt4target.cpp
src/plugins/qt4projectmanager/qt4target.h
src/plugins/qt4projectmanager/qtoptionspage.h
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
Jarek Kobus
4d69c7455e
Remove unused constants, fix lacking virtual destructor
...
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-04-14 12:08:47 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Friedemann Kleint
6cf2cf8605
Debugger: Fix warning, remove unused AttachTcf mode.
2011-04-08 16:04:53 +02:00
hjk
f5f8227be5
debugger: code cosmetics
2011-04-07 18:00:46 +02:00
Bill King
5e372a165f
Merge branch '2.2'
...
Conflicts:
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotarget.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotarget.h
2011-04-05 16:43:24 +02:00
Friedemann Kleint
122f6a1845
Debugger: Add size to watch data.
...
Have CDB report it, pass it on to adding watches.
2011-04-04 16:15:03 +02:00
Thorbjørn Lindeijer
add9dd288d
Fixed value of DisassemblerCapability
...
Was the same as the ReloadModuleCapability.
Reviewed-by: Friedemann Kleint
2011-04-01 19:48:55 +02:00
hjk
b1d255efeb
debugger: fix removal of dummy <Edit> watch item using the <Del> key
2011-03-17 19:37:07 +01:00
hjk
822bbff157
debugger: add possibility to break on fork, vfork, exec, syscall
2011-03-04 19:26:11 +01:00
Friedemann Kleint
43c980e6a3
Debugger: Make tracepoints a capability.
2011-02-21 13:20:16 +01:00
Thorbjørn Lindeijer
f5c192bf38
Introduced a QML-specific debugger tool bar
...
This one has the common debugger actions as well as the QML Observer
specific part. This makes sure those actions are generally available and
not only from the QML Observer dock widget.
The filter in the tool bar should still be moved back.
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-02-16 13:36:12 +01:00
Friedemann Kleint
3a100e8d7c
Debugger: Make breakpoint capabilities more fine-grained.
...
Handle in editBreakpoint().
Acked-by: hjk
2011-02-07 11:05:30 +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
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
con
ffc241b719
Use the new ProxyAction for the debug button.
...
Instead of doing context magic which doesn't reflect what actually was
meant: The actions are different commands, but the button should be
corresponding to different commands in different states.
2011-01-12 16:38:16 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +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