Commit Graph

603 Commits

Author SHA1 Message Date
Oswald Buddenhagen
fa0127bedd Merge remote-tracking branch 'origin/2.2'
Conflicts:
	src/plugins/debugger/breakhandler.cpp
	src/plugins/debugger/cdb/cdbengine.cpp
2011-05-16 17:32:23 +02:00
hjk
8ad489664d debugger: fix deletion of breakpoints 2011-05-11 16:57:53 +02:00
Friedemann Kleint
5a21fba3f2 Debugger: Fix remote CDB debugging.
Determine ABI correctly.

Reviewed-by: hjk

Task-number: QTCREATORBUG-4832
2011-05-10 15:11:55 +02:00
Thorbjørn Lindeijer
a547aee827 Introduced capabilities for OperateByInstruction and RunToLine
The ScriptEngine does not support these actions, so make sure they are
disabled in the debugger menu.

Reviewed-by: hjk
Task-number: QTCREATORBUG-2749
2011-05-09 13:13:14 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Friedemann Kleint
e7cb7471c0 Debugger: Fix Action enabling, implement breakOnMain for CDB. 2011-05-04 15:40:15 +02:00
Friedemann Kleint
c318383ee1 Debugger: Add 'Run in terminal' to Start External dialog. 2011-05-04 09:21:18 +02:00
Orgad Shaneh
2849d3e270 Debugger: Added a start script (gdbinit) field in attach to core and in remote debugging
Merge-request: 2191
Reviewed-by: hjk <qtc-committer@nokia.com>
2011-05-03 14:59:44 +02:00
hjk
ccffed9385 debugger: make F10/F11 start the app if not running and break on main 2011-05-02 18:23:04 +02:00
Friedemann Kleint
6dac333636 Debugger: Fix resetting of 'Operate by instruction' on finished. 2011-05-02 15:05:16 +02:00
Kai Koehne
ea36927cc3 QmlDebug: Simplify logic to find the source file for a stack frame
Get rid of custom logic to handle shadow builds (which didn't work
anyway if the qml files are from a different directory than expected).
Instead, just search for the file name in the list of files from the
project.

Reviewed-by: Christiaan Janssen
2011-04-27 17:25:48 +02:00
Friedemann Kleint
1ae9679c40 Debugger: Separate internal constants. 2011-04-21 15:52:51 +02:00
Friedemann Kleint
99b6c2e4f9 Debugger: Allow for debugging executables from command line.
On Windows or if file is executable.
2011-04-19 14:30:13 +02:00
Friedemann Kleint
ed30a3f724 Debugger: Use bin editor widget for standalone-memory views.
Remove MemoryViewWidget/RegisterMemoryViewWidget
in favour of MemoryView/RegisterMemoryView based on the bin
editor widget.
2011-04-19 12:19:23 +02:00
Oswald Buddenhagen
45c9cf7a12 add/unify i/o error handling
lots of use of Utils::FileSaver and Utils::FileReader

Task-number: QTCREATORBUG-1619
2011-04-18 14:10:14 +02:00
Oswald Buddenhagen
dc3c156cac Merge branch '2.2'
Conflicts:
	src/plugins/debugger/gdb/pythongdbengine.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
	src/plugins/qt4projectmanager/qt4target.cpp
	src/plugins/qt4projectmanager/qt4target.h
	src/plugins/qt4projectmanager/qtoptionspage.h
	src/plugins/qt4projectmanager/qtversionmanager.cpp
	src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
be9455bc50 mode: make displayname, icon, priority, id, type data members 2011-04-14 11:15:08 +02:00
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