Commit Graph

1026 Commits

Author SHA1 Message Date
hjk
e7121d50d7 debugger: polish breakpoint locations
Task-number: QTCREATORBUG-3912
2011-03-02 13:38:03 +01:00
Pawel Polanski
3d23d26929 CODA: Added support for device info button in project settings (for CODA serial connections) 2011-03-02 11:13:54 +01:00
Friedemann Kleint
d99b0e8a84 Debugger: Remove leftover qDebug.
Fix 5ddf7d3c40
2011-03-01 10:00:43 +01:00
Friedemann Kleint
5ddf7d3c40 Symbian: Fix CODA shutdown after debuggee crash. 2011-03-01 09:58:00 +01:00
Friedemann Kleint
562265d58c Toolchains: Header cleanup. 2011-02-28 16:50:14 +01:00
Friedemann Kleint
88f333267f Fix Krazy code scanning tool warnings (QString, loops, spelling). 2011-02-25 15:28:01 +01:00
hjk
f125b57163 debugger: work on writable memory view 2011-02-25 14:30:38 +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
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
65ff34f315 debugger: add C:/ndk_buildrepos/qt-desktop/src as possible source location
The whole approach is broken.

Task-number: QTCREATORBUG-3804
2011-02-24 14:30:51 +01:00
hjk
0e9a2c1390 debugger: hard-code "Display" and "Normal" as translatable
Task-number: QTCREATORBUG-3747
2011-02-24 14:27:48 +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
hjk
2e59bc9a66 fix a few krazy warnings 2011-02-23 17:38:26 +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
f17bb48c7d debugger: fix spelling 2011-02-23 15:15:20 +01:00
hjk
66896e1908 debugger: more verbose status message on sigsegv even if messagebox was disabled 2011-02-23 11:28:20 +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
69b6846c9d debugger: reduce line noise 2011-02-22 18:12:10 +01:00
hjk
d652c21181 debugger: compile fix 2011-02-22 13:29:00 +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
hjk
0dd7ba2d1b debugger: save settings on saveSettingsRequested 2011-02-22 12:06:00 +01:00
hjk
fcec3a06ae debugger: remove line noise 2011-02-22 11:35:03 +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
Friedemann Kleint
43c980e6a3 Debugger: Make tracepoints a capability. 2011-02-21 13:20:16 +01:00
hjk
c9826c1b4e debugger: merge a few #ifdef Q_OS_WIN's 2011-02-17 15:21:35 +01:00
hjk
59212b6654 debugger: better formatting of assembler lines 2011-02-17 14:13:04 +01:00
Friedemann Kleint
73e9c5790b Debugger: Change UseFullPath setting to an enumeration.
Introducing EngineDefault such that CDB/LLDB can use full paths
by default and gdb can use short paths.

Reviewed-by: hjk
2011-02-17 13:06:51 +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
hjk
0b662609a0 debugger: replace action(ExecuteCommand) be a direct function call 2011-02-16 13:07:16 +01:00
hjk
8d997a2fd2 debugger: code cosmetics. 2011-02-15 12:04:12 +01:00
hjk
793cadfe7f debugger: make handling of cpu type result failure more robust 2011-02-15 12:04:12 +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
37686e6a15 debugger: rework logic for chain of disassembler fallbacks.
Old logic was too fragile to maintain.
Now it's  PointMixed -> PointPlain -> RangeMixed -> RangePlain.
2011-02-10 13:44:40 +01:00
hjk
a6dd51c76c debugger: properly sort arrays even with the 'classic' gdb engine 2011-02-08 18:28:02 +01:00
Pawel Polanski
ce5b57c8a5 Symbian: ensure that terminated application is killed 2011-02-08 15:25:34 +01:00
Tom Sutcliffe
a034989350 Sharing TcfTrkDevice connections between multiple clients 2011-02-08 09:18:45 +01:00
Pawel Polanski
532a8ad2e7 Symbian: tcftrk renamed to Coda 2011-02-07 15:38:11 +01:00
Friedemann Kleint
3a100e8d7c Debugger: Make breakpoint capabilities more fine-grained.
Handle in editBreakpoint().

Acked-by: hjk
2011-02-07 11:05:30 +01:00
Pawel Polanski
8239ca4444 Symbian: ensure a process is really stopped after being suspended and then stopped 2011-02-07 11:04:43 +01:00
hjk
0cd2763873 debugger: spell fix 2011-02-04 15:35:09 +01:00
hjk
62ece8f892 debugger: automatically update breakpoints after manually loading symbols 2011-02-04 15:33:21 +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