Commit Graph

159 Commits

Author SHA1 Message Date
hjk
0b5591ae7a debugger move DebuggerStartParameters into file of its own 2011-01-07 09:44:48 +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
Kai Koehne
322c53783d QmlCppDebugging: Make sure command line args have spaces in between 2010-12-15 13:08:01 +01:00
hjk
95731517be debugger: comment cosmetics 2010-12-15 09:35:31 +01:00
hjk
91a6eee3ad debugger: move sanity check from DebuggerRunControl::start to Factory::create 2010-12-15 09:34:02 +01:00
hjk
5e72be24ab debugger: fix wrong assert when no engine could be constructed 2010-12-15 09:17:31 +01:00
hjk
1f79313b74 debugger: remove dead code 2010-12-13 16:59:55 +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
91e6c14ff9 debugger: find better separation between runcontrol and engine 2010-12-10 12:42:40 +01:00
hjk
18986b8ccb debugger: minor cleanup 2010-12-10 12:42:40 +01:00
hjk
69bc6b018b debugger: remove unneeded function 2010-12-06 08:05:45 +01:00
hjk
2c46a935df debugger: make more bits private 2010-12-03 16:18:50 +01:00
hjk
a77353b414 debugger: move DebuggerMainWindow to debuggermainwindow.{h,cpp} 2010-12-02 17:43:14 +01:00
Arvid Ephraim Picciani
0ab67db58e lldb: introduce dialog to start engine remotely 2010-12-01 15:50:18 +01:00
hjk
cf154b3bc3 debugger: make breakpoint enables state visible in the breakpoint dialog 2010-11-30 08:59:58 +01:00
Arvid Ephraim Picciani
776a45df68 lldb: move away from local sockets to stdio coms
can now pluginto any host via ssh.
define QTC_LLDB_GUEST=/some/script in the env
where script is a wrapper that does ssh, or whatever you need
2010-11-29 17:07:30 +01:00
Arvid Ephraim Picciani
6b30168750 lldb: enable lldb through gui configure page 2010-11-26 15:11:52 +01:00
Tobias Hunger
2e09df3d9c ToolChain: Rename RVCT toolchains to RVCT2
Reviewed-by: dt
2010-11-26 15:07:37 +01:00
Friedemann Kleint
a4d7fb2f06 Debugger: Fix compilation, centralize breakpoint type detection.
Reviewed-by: hjk
2010-11-26 13:06:03 +01:00
hjk
f891916afb debugger: compile fix 2010-11-26 11:51:12 +01:00
hjk
0682276b78 debugger: code cosmetics 2010-11-26 11:38:16 +01:00
hjk
40dd86b672 debugger: remove unneeded declarations 2010-11-26 11:27:47 +01:00
hjk
8baa54e701 debugger: code cosmetics 2010-11-26 11:27:44 +01:00
Friedemann Kleint
8477c7bc4f Debugger: Add new CDB-engine.
Rubber-stamped-by: hjk
2010-11-18 13:52:42 +01:00
Oswald Buddenhagen
1e362b0f8b overhaul process argument handling
get away from argument stringlists. instead, use native shell command
lines which support quoting/splitting, environment variable expansion
and redirections with well-understood semantics.

Task-number: QTCREATORBUG-542
Task-number: QTCREATORBUG-1564
2010-11-17 13:19:07 +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
dt
6683b40844 ProjectExplorer + Debugger: Move Debug Action to the Debugger plugin
Since all the debuggers are implemented in the debuggerplugin, that's a
natural place to put the action.
2010-11-12 20:18:29 +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
Arvid Ephraim Picciani
c0da255a87 Experimental lldb engine host 2010-11-09 14:01:27 +01:00
Friedemann Kleint
22f03cbde6 ProjectExplor/Debugger: Header cleanup 2010-11-02 16:14:00 +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
Friedemann Kleint
6510a749b7 ProjectExplorer: Move ToolChainType enumeration into separate Header.
Acked-By: dt
2010-11-01 14:25:24 +01:00
Friedemann Kleint
6a07c45477 Debugger: Disable gdb post-mortem debugging on Windows.
As it is not able to do the event-handshake required.

Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2086
2010-10-22 11:31:33 +02:00
Friedemann Kleint
db671e8202 Debugger: Avoid crashes when no C++-engine is available.
Check for valid runcontrols in various places and initialize
m_engine correcly. In the case of QML-Debugging, handle
NoEngineType.

Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2086
2010-10-22 11:27:45 +02:00
Kai Koehne
774c2ec205 Debugger: Allow pure qml debugging if no C++ debugger is configured
Don't complain e.g. about a missing cdb debugger if the user doesn't
want to debug C++ anyway.

Task-number: QTCREATORBUG-2376
Reviewed-by: hjk
2010-10-15 13:38:12 +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
Jarek Kobus
da79614008 Translator corrections 2010-09-29 12:48:50 +02:00
Friedemann Kleint
bf8dedaade Debugger: Handle synchronous startup fail (Windows).
Make DebuggerRunner handle QProcess::startFailed
correctly on Windows (synchronous signal emission
within startDebugger()).
Remove debug output/warnings.

Reviewed-by: hjk
2010-09-29 10:32:41 +02:00
Lasse Holmstedt
96d991bbdc QML Observer: Build together on runtime with debugging tools
Moved qmljsdebugger to a dir under qml/, made qmlobserver compile
without creator dependencies and made it compile with debugging
helpers.

Reviewed-by: hjk
2010-09-29 09:39:30 +02:00
dt
5adeb48e52 ApplicationRC: make exectuable() and co. return expanded values 2010-09-27 15:56:37 +01:00
Tobias Hunger
50f9165b05 Handle environment variables when starting an application
* Handle environment variables in workdir, executable name as
   well as arguments when starting an application
 * Cover both debugger and normal application starts
2010-09-24 16:35:07 +02:00
Tobias Hunger
f5c044fe48 Move ProjectExplorer::Environment to Utils::Environment
Reviewed-by: dt
2010-09-23 13:40:26 +02:00
Lasse Holmstedt
b580a0c357 QmlDebugging: Use -qmljsdebugger command line argument
Adapt to latest changes in qt.git (commit
a9e5329168c)

Reviewed-by: kkoehne
2010-09-20 12:18:59 +02:00
Christian Kandeler
ae4c35bd86 Maemo: Support QML-only debugging.
Reviewed-by: kh1
2010-09-16 17:08:58 +02:00
Kai Koehne
63cae2981b QmlJsDebugger: Replace QDDesignView by QDViewObserver
Don't force users to inherit from QDeclarativeDesignView. Instead we're
using now event filters to let a user attach a QDeclarativeViewObserver
object to a QDeclarativeDesignView.
2010-09-15 14:18:39 +02:00
Friedemann Kleint
83e60a1747 Debugger: Unexport GdbEngine, d-pointer for run control. 2010-09-14 08:34:07 +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
Friedemann Kleint
342ab57db2 Debugger: Un-export GdbAdapters.
Reviewed-by: hjk
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2010-09-13 11:08:08 +02:00
hjk
06a3bf980b debugger: don't suppress previous error messages. 2010-09-10 17:22:28 +02:00