Commit Graph

609 Commits

Author SHA1 Message Date
hjk
a8ae618d75 toolchain: fix enum naming style
Reviewed-By: Tobias Hunger
2011-02-23 17:56:33 +01:00
Friedemann Kleint
6ac7efba15 Debugger: Move debugger executables configuration into toolchains. 2011-02-23 14:57:52 +01:00
hjk
5f38a26c9e debugger: fix 'Jump To/Run to' when in instruction-wise mode 2011-02-23 11:11:39 +01:00
hjk
cd18b3ce03 debugger: add a 'Debugger finished' statusbar message 2011-02-23 10:17:21 +01:00
hjk
bd44fb1248 debugger: move gdb binary list to common options page (unfinished) 2011-02-22 12:59:12 +01:00
hjk
8784196ff5 debugger: move common option pages into files of their own 2011-02-22 12:29:12 +01:00
hjk
0dd7ba2d1b debugger: save settings on saveSettingsRequested 2011-02-22 12:06:00 +01:00
hjk
b94703b74d debugger: set toolchains for core debugging 2011-02-22 11:23:53 +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
cbafc50acc Debugger: Make tooltips use standard text editor tooltips.
Extend text editor tooltips by a 'widget content', making
it possible to show any widget utilizing the fact that the
QTipLabel actually is a frame (and thus a container).
Introduce concept of 'interactive' tooltips and modify
the tooltip-closing mechanism such that simple interaction
is possible. Emit the base text editor's tooltip signals
with the correct position and add API to calculate the tooltip
position from the cursor position.
Add API for pinning tooltips to the text editor (by removing
them from the QTipLabel layout).
Modify the Debugger's tooltipmanager not to manage tooltips
under TextEditor control and to take over control only once
tooltips are pinned.

Rubber-stamped-by: Leandro T. C. Melo <leandro.melo@nokia.com>
2011-02-21 16:51:00 +01:00
hjk
499b00312e debugger: allow attaching to core files on windows
Seems it's not only theoretically possible but people actually want to use it

Task-number: QTCREATORBUG-3813
2011-02-17 15:27:00 +01:00
Friedemann Kleint
c74da9b7c5 Debugger: Reduce tooltip flicker.
Move tooltip-request handling from DebuggerPlugin into
DebuggerToolTipManager.

Request tooltip only if position changed and close
standard tooltip on success.
2011-02-17 10:11:23 +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
hjk
0b662609a0 debugger: replace action(ExecuteCommand) be a direct function call 2011-02-16 13:07:16 +01:00
Thorbjørn Lindeijer
7741db1220 Code cosmetics 2011-02-16 11:36:06 +01:00
Christian Kandeler
22a49fd4a8 SSH: Choose better names for public types and variables. 2011-02-15 13:35:17 +01:00
Friedemann Kleint
f37d9b55aa L10n: First round of tr()-Fixes for 2.2 2011-02-14 16:37:20 +01:00
Milian Wolff
94548a1e1f move src/plugins/coreplugin/ssh to src/lib/utils/ssh
Merge-request: 253
Reviewed-by: hjk <qtc-committer@nokia.com>
2011-02-14 16:34:17 +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
hjk
af8daf9d30 actionmanager: rename Command::CA_NonConfigureable to CA_NonConfigurable 2011-02-09 16:29:02 +01:00
hjk
703d637cc6 debugger: hide one of two ADD_TO_WATCH actions from the shortcut dialog 2011-02-09 16:29:02 +01:00
hjk
1162f1ebca debugger: action name cosmetic
No need to add random '1' if there's only one.
2011-02-09 14:42:55 +01:00
hjk
6e82488396 debugger: improved error messages on startup 2011-02-08 18:28:02 +01:00
hjk
04514ed459 debugger: reorganize starting from the command line 2011-02-08 16:41:02 +01:00
Friedemann Kleint
4d46c69d25 Debugger: Documentation work on qtcreatorcdbext/Debugger.
Add comments, introduce internal switch in
doc/api/qtcreator-api.qdocconf.
2011-02-04 15:10:17 +01:00
con
4cce135018 Some debugger actions were enabled in states where they wouldn't work.
Reviewed-by: hjk
2011-02-04 14:44:47 +01:00
hjk
834ebe0c49 debugger: code cosmetics 2011-02-03 16:49:58 +01:00
hjk
a0b178b708 debugger: merge DebuggerActions into DebuggerPluginPrivate
Realistically, the days of a stand-alone debugger are over...
2011-02-03 14:08:01 +01:00
hjk
1be13759e3 debugger: fix breakpoint handling in main editor context menu 2011-02-03 13:45:03 +01:00
hjk
face88a3d2 debugger: rework 'Run to Outermost Function' feature
Remove from the debug menu, and assign Ctrl-F6 to it by default also
on non-Mac.
2011-02-02 11:56:01 +01:00
con
6bea521e6b Debugger view menus were enabled when they shouldn't be 2011-01-31 15:18:35 +01:00
Friedemann Kleint
725182916f Debugger: Add to API documentation.
Reviewed-by: hjk
2011-01-26 17:22:25 +01:00
Christiaan Janssen
5ac9a19465 QmlDebugger: displaying tooltips while qml is running
Reviewed-by:  hjk
2011-01-25 11:05:15 +01:00
Friedemann Kleint
e601b3c7cb Debugger: Adapt graphviz graph. 2011-01-17 10:36:34 +01:00
hjk
bdfe2ed53b debugger: remove EngineRunOk state again 2011-01-17 10:07:33 +01:00
hjk
9ff17a8208 debugger: update state diagram 2011-01-14 14:41:01 +01:00
con
0d6d420735 Make Shift+F5 for interrupting/stopping debugger work again. 2011-01-13 17:36:31 +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
8bf142fbc3 Let ModeManager::addAction take a QAction instead of Command
There was no reason, and using QAction is more flexible.
2011-01-12 15:54:16 +01:00
hjk
6dd55aa471 debugger: introduce generic master/slaves engine 2011-01-12 12:17:47 +01:00
hjk
eb701fc7a8 debugger: start on integrated combined c++/qml debugging 2011-01-12 12:17:25 +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
129c958a93 debugger: refactor debugger configuration check 2011-01-10 10:18:46 +01:00
Friedemann Kleint
a7eccce733 Debugger: Header cleanup 2011-01-10 10:14:23 +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
hjk
2c26c6b173 debugger: remove hard dependency on cppeditor 2011-01-06 16:47:26 +01:00