Commit Graph

586 Commits

Author SHA1 Message Date
hjk
70d392d235 core: make context and widget IContext data members 2011-04-14 11:15:07 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
hjk
82f3e788f6 debugger: re-work DisassemblerLine structure 2011-04-12 17:33:08 +02:00
hjk
26b28804a7 debugger: fix display name when using "start and debug external app"
Reviewed-by: Lasse Holmstedt <lasse.holmstedt@nokia.com>
2011-04-08 10:48:16 +02:00
con
a0925af7d1 Fix startup crash on Mac
Introduced by f023b1ddbd

Reviewed-by: Kai Koehne
2011-04-08 09:33:47 +02:00
hjk
f5f8227be5 debugger: code cosmetics 2011-04-07 18:00:46 +02:00
Arvid Ephraim Picciani
f023b1ddbd debugger: remove lldb specific option from debugger menu
Reviewed-By: hjk
2011-04-07 17:30:53 +02:00
hjk
dec9622cfa debugger: make "debugger font size follows main editor optional"
Task-number: QTCREATORBUG-2420
2011-04-01 12:03:11 +02:00
hjk
5ecb41afb5 debugger: remove 'Attach to TCF' start option
And TcfEngine etc.

Reviewed-by: Friedemann Kleint
2011-03-30 14:59:49 +02:00
Christiaan Janssen
7100d29f66 QmlDebugger: user input on watches
Reviewed-by: hjk
2011-03-24 13:21:30 +01:00
Christiaan Janssen
fd66f68671 QmlDebugger: Watchers
Reviewed-by: hjk
2011-03-24 13:12:57 +01:00
Friedemann Kleint
bc8d61ef2c Debugger: Search all MSVC toolchains.
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-03-22 10:23:31 +01:00
Tobias Hunger
b2df065b56 Use distinct ABIs for MSVC versions
Use a distinct ABI OS flavor for each of the supported MSVC versions.

Task-number: QTCREATORBUG-4129
2011-03-21 15:46:42 +01:00
Friedemann Kleint
8ff480881a Debugger: Always add Qt install source mappings for gdb.
As it fails for MinGW.

Task-number: QTCREATORBUG-4132
Reviewed-by: hjk
2011-03-18 10:03:08 +01:00
Tobias Hunger
429ed63f5d Fix spelling of tool chain is user-visible strings and comments 2011-03-16 18:01:52 +01:00
Friedemann Kleint
a7370ae4b0 Analyzer: Add status label.
Factor out the status label with timeout from the debugger plugin.
Use in analyzer manager, add standard messages and use that
in memcheck.

Task-number: QTCREATORBUG-4077
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-03-16 13:49:28 +01:00
Friedemann Kleint
4fa528813e Debugger: Fix exit crash in debug mode (X11).
Double deletion of debug mode widgets.
2011-03-15 14:52:35 +01:00
Friedemann Kleint
2d9de93361 Debugger: Add a flexible widget for source path substitutions.
Add a new widget to edit the mappings. Rework common options
page to use the standard pattern to allow for complex data types,
introduce GlobalOptions class.
2011-03-04 16:24:54 +01:00
Friedemann Kleint
827fbd6aa7 Debugger: Fix Ctrl-C console crash on Windows.
Do not create static QObject.
2011-03-02 14:05:32 +01:00
hjk
c10bb9e5f7 debugger: load is load and save is save... 2011-02-28 18:56:23 +01:00
Christian Kandeler
d24ebfed3d SSH: Fix misnomers. 2011-02-28 17:02:38 +01:00
hjk
0a512797b9 debugger: reset OperateByInstruction on runControlFinished 2011-02-25 16:26:22 +01:00
Friedemann Kleint
ed8dd0b031 Debugger: Actually pass the debugger command from ToolChain.
Do not retrieve debugger command from ABI as that causes mismatches
when several toolchains of the same ABI are present.
Use indexes in the debugger dialogs.
Polish tooltip.
2011-02-25 16:03:22 +01:00
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
f7ab622224 debugger: don't leak the break handler 2011-02-24 13:25:30 +01:00
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