Commit Graph

189 Commits

Author SHA1 Message Date
Friedemann Kleint
14d590590f Debugger: Use Startparameters.debuggerCommand for command.
Use in both engines preferred over ABI if it is compatible.
Report start parameters. Introduce gdb configuration check.
2011-02-25 13:43:06 +01:00
Friedemann Kleint
047ee5522c Debugger: Improve configuration error reporting.
- Make showWarningWithOptions actually show the details.
- Show errors from multiple engines as separate messages.
- Remove 'enabled' option from CDB (handled by toolchain config now).
- Show ABI as tooltip in debbugger toolchain chooser.
2011-02-25 09:34:31 +01:00
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
hjk
a8ae618d75 toolchain: fix enum naming style
Reviewed-By: Tobias Hunger
2011-02-23 17:56:33 +01:00
hjk
3331aea7da debugger: make qt source path configurable 2011-02-23 17:56:21 +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
Friedemann Kleint
fa6fbcc83b Debugger: Choose right binary for CDB/gdb. 2011-02-23 16:56:14 +01:00
hjk
69b6846c9d debugger: reduce line noise 2011-02-22 18:12:10 +01:00
hjk
3fcf39a764 debugger: finish moving of binary setting 2011-02-22 13:23:37 +01:00
hjk
bd44fb1248 debugger: move gdb binary list to common options page (unfinished) 2011-02-22 12:59:12 +01:00
Tobias Hunger
8d0c477245 ToolChain: Refactor toolchain support
Refactor ToolChains in Qt Creator:

 * Allow for several toolchains of the same type
 * Be smarter wrt. guessing what kind of output a toolchain
   produces. This allows us to eventually handle e.g. embedded
   linux setups way better than before.
 * Be smarter wrt. guessing what kind of environment a Qt version
   needs.
 * Improve auto-detection of toolchains a bit
 * Decide on which debugger to use based on the kind of output
   produced by the compiler.
 * Add options page to configure toolchains
 * Remove toolchain related options from the Qt version dialog

Reviewed-by: dt
2011-02-21 18:33:23 +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
Kai Koehne
50b6a98bd6 Debugger: Ensure breakpoints to simple JS expressions are hit
Prevent QDeclarativeEngine to handle simple bindings on their own by
setting the QML_DISABLE_OPTIMIZER environment variable. This ensures
that every binding is actually updated through the JavaScript engine,
and therefore checked for breakpoints.

Task-number: QTCREATORBUG-3595
2011-02-07 11:02:32 +01:00
Kai Koehne
211553768f Debugger: Make error warning a real sentence.
Separate the two warnings by a '. '.
2011-02-04 13:42:01 +01:00
Christian Kandeler
14cb9f91ad Make Meego target work.
- Package installation and running untested yet.
- User currently needs to adapt %files section in spec file manually.
  We expect this task to be automated by the build script in the future
  (see http://bugs.meego.com/show_bug.cgi?id=13148).
2011-02-01 14:08:12 +01:00
Friedemann Kleint
808408eeea 10n: Fix tr() issues. 2011-01-19 16:50:03 +01:00
Christian Kandeler
f0a54abf6b Maemo: Introduce dedicated Fremantle and Harmattan targets.
Task-number: QTCREATORBUG-2770
2011-01-18 15:22:12 +01:00
con
edd7224cd6 Add "never ask again" option to dialog asking about killing applications
The option is used for the stop button in the application output.
Closing tabs will still ask unconditionally, also if applications would
be killed as a side-effect, e.g. of closing Qt Creator.
The Symbian controls also always ask, with a more descriptive text,
because killing applications might have negative effect on the device in
some cases.

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-3119
2011-01-17 13:52:33 +01:00
hjk
6dd55aa471 debugger: introduce generic master/slaves engine 2011-01-12 12:17:47 +01:00
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