Commit Graph

170 Commits

Author SHA1 Message Date
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Friedemann Kleint
46647f49d8 Debugger[New CDB]: Move from namespace Cdb to Internal. 2011-01-11 11:06:15 +01:00
Friedemann Kleint
11084153fa Debugger: Link (export checkconfiguration)
Remove factory class from exported header.
2011-01-10 10:36:23 +01:00
hjk
27e3a1ddf5 debugger: remove engine type parameter from runcontrol constructor 2011-01-10 10:18:46 +01:00
hjk
129c958a93 debugger: refactor debugger configuration check 2011-01-10 10:18:46 +01:00
hjk
1b1663a289 introduce a appendMessage overload not requiring the 'this' parameter 2011-01-10 10:18:45 +01:00
Friedemann Kleint
a7eccce733 Debugger: Header cleanup 2011-01-10 10:14:23 +01:00
hjk
ef806894e8 runcontrols: use ProjectExplorrer::OutputFormat for format selection 2011-01-07 16:26:56 +01:00
hjk
8fd480bd21 merge addToOutputWindow and addToOutputWindowInline 2011-01-07 16:26:55 +01:00
Friedemann Kleint
01d4c5a3d3 Debugger: R.I.P. old CDB engine. 2011-01-07 15:04:54 +01:00
hjk
0ee4011cfd debugger: compile fix, minor cleanup 2011-01-07 10:13:55 +01:00
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