Commit Graph

252 Commits

Author SHA1 Message Date
Jens Bache-Wiig
a3b7290f37 Improved statusbar output for the debugger mode
* We now consistently avoid punctuation when possible
* Renamed usage of "Inferior" and "Program" to "Application" for
  increased readability
* Fixed inconsistent spacing in front of statusbar label

Reviewed-by:hjk
2010-03-23 14:52:38 +01:00
hjk
af14d9fc48 debugger: remove or rename a few images. 2010-03-22 15:09:41 +01:00
hjk
481a77111d debugger: "fix" reverse execution icon.
Needs work...
2010-03-22 15:09:13 +01:00
hjk
8eee28d8b7 debugger: shorten startup failure message a bit 2010-03-22 15:09:13 +01:00
hjk
41d400eb24 debugger: hide "watchers" part of Locals&Watchers if there aren't watchers 2010-03-22 13:41:42 +01:00
Lasse Holmstedt
492fffb4cc Added automatic language switching option to debugger settings
Additionally, hiding of debugger menu entries was done as most of
them are irrelevant for QML debugging.
2010-03-18 17:05:22 +01:00
Lasse Holmstedt
b14a208273 Made debugger menu items disabled in QML inspector mode 2010-03-18 17:02:26 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
Friedemann Kleint
ac66b70d27 Debugger: Fix engine detection: Add default path for mode. 2010-03-17 14:54:48 +01:00
Friedemann Kleint
0216a0012f Debugger fixes: Attach core/Compile Windows/Run XP.
Retrieve QueryProcessImageFileNameW via QLIbrary/dlopen
on all platforms due to it being not present on Windows XP.
2010-03-17 13:00:44 +01:00
Jens Bache-Wiig
d58184173e Clean up layouts and use minisplitter everywhere
This patch replaces all uses of QSplitter with thin 1-pixel
splitters. I also fixed dock widget layouts in main windows
to do the same. Additionally I had to tweak the tabbars so
they look good in mini splitter layouts to avoid a double
left-border.

Reviewed-by: thorbjorn
2010-03-17 11:23:10 +01:00
Friedemann Kleint
0146926f19 Debugger: Improve engine detection.
Try to detect engine by looking at toolchain, executable,
attach mode. Find out path to executable in attach to running
dialog.

Reviewed-by: hjk
2010-03-17 10:57:19 +01:00
hjk
5946b78d8a debugger: close editors opened while stepping 2010-03-11 13:43:42 +01:00
hjk
60995cf0ab debugger: re-enable basic support for reverse execution.
Needs polishing.
2010-03-11 12:04:19 +01:00
Friedemann Kleint
b15853e3ea Debugger: Fix debugger command line startup.
Protect against session changes at startup.
Reviewed-by: hjk
2010-03-11 08:44:07 +01:00
hjk
3066162eb4 debugger: avoid a few watchmodel rebuilds, also reset location markers properly 2010-03-10 17:39:42 +01:00
hjk
c0a8fbe9ff debugger: rename a few functions 2010-03-10 16:17:40 +01:00
hjk
e6be08b388 debugger: use ITextEditor in DebuggerManager
The dependency was there for a while. No need to jump through hoops hoping
to maintain a stand-alone debugger anymore.
2010-03-10 13:58:20 +01:00
hjk
6321e4ebfe debugger: closer dependency plugin<->manager, less signal/slot connections 2010-03-10 13:46:46 +01:00
con
ab74d23848 Avoid pulling in the svg plugin. 2010-03-05 16:03:31 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
hjk
f6447d5d0b debugger: cosmetics
supresses wiggly lines ...
2010-03-03 18:08:42 +01:00
Friedemann Kleint
d4cee56e99 Symbian/Linux: Fix debugger
- Switch correctly on GnuPoc-toolchains
- Do not lock up on Gdb start.
2010-02-25 17:52:34 +01:00
Thorbjørn Lindeijer
34c1ae1fdb Don't use the MiniSplitter in the debug mode
It looks out of place since the virtual splitters coming from the
QMainWindow are not mini splitters.

Reviewed-by: Lasse Holmstedt
2010-02-25 14:11:11 +01:00
con
7af10a0396 New debug related icons. 2010-02-23 17:00:49 +01:00
Lasse Holmstedt
4e5089d90d Merge branch 'debugintegration'
Conflicts:
	src/plugins/qmlprojectmanager/qmlproject.cpp
	src/plugins/qmlprojectmanager/qmlproject.h
2010-02-16 16:30:41 +01:00
Lasse Holmstedt
580280af26 Changed QML Inspector from a separate global mode to a plugin.
The new QML Inspector depends on DebuggerPlugin. Also added a dropdown menu into
the debugger toolbar from which the user can select the used debugging
language, e.g. C++ or QML.
2010-02-16 15:13:09 +01:00
hjk
c6e88eec0e debugger: implement basic support for gdb's 'return' command
Returning a value is not yet supported.
2010-02-15 17:02:07 +01:00
hjk
2ba777415b debugger/texteditor: Add font and size option to debugger panels, QTCREATORBUG-189 2010-02-12 14:16:01 +01:00
hjk
47fa65be6c debugger: some basic support for 'catch catch' and 'catch throw'
Hidden in the Breakpoints context menu.
2010-02-11 17:46:05 +01:00
Friedemann Kleint
dc006860c4 Symbian: Let SymbianDeviceManager handle TrkDevice leases.
...making use of a shared device by all clients. Detect device removal by
delaying the WM_DEVICE event handling. Introduce Acquire/Release mechanism
to SymbianDeviceManager and let acquire() fail if the device is in use, thus
preventing starting 'run' while debugging is active, etc.
Handle "Device removed" (unplugging of cable) signal by closing the device and adding
handlers to the clients, stabilize TrkDevice against it.
Remove communication type from the run configuration parameters (now handled by
SymbianDeviceManager).

Working towards keeping the Trk-connection always open and a giving the target pane
a meaningful tooltip.
For the moment, pass on tooltips from device manager additional information
(Trk version and such as determined by the launcher).
2010-02-11 12:31:59 +01:00
hjk
9cd64f51a6 debugger: re-enable the 'Reset Debugger' action, renamed into 'Abort Debugging' 2010-02-11 11:26:08 +01:00
Friedemann Kleint
28d72550d3 Removed static QIcon instances.
thus fixing the exit warning:
"~QX11PixmapData(): QPixmap objects must be destroyed..."

Acked-by: con
2010-02-10 10:47:34 +01:00
hjk
f0314d0f66 debugger: add runToLine and jumpToLine actions to editor context menu in debug mode 2010-02-08 13:02:25 +01:00
Friedemann Kleint
b6c7c597c2 Debugger: Introduce engine capability flags to enable actions correctly.
Reviewed-by: hjk
2010-02-05 10:23:55 +01:00
hjk
18445dc9c6 debugger: make handling multiple core files a bit more convenient 2010-02-03 08:37:48 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
con
db68ca5b8d debugger: gracefully handle commands that might not produce output
(cherry picked from commit 1324a1c600)

Conflicts:

	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/debugger/gdb/gdbengine.h
2010-01-06 15:57:10 +01:00
hjk
0821f6fa51 debugger: make 'Add to watch' available in the editor context menu in debug mode 2009-12-11 18:19:51 +01:00
hjk
1324a1c600 debugger: gracefully handle commands that might not produce output 2009-12-11 18:00:37 +01:00
hjk
abdd3d9d5b debugger: make Add to Watchwindow menu entry work again 2009-12-11 18:00:36 +01:00
Roberto Raggi
14376c3c32 Initial work on the new CPlusPlus::Snapshot.
Encapsulate the details.
2009-12-07 10:54:27 +01:00
Robert Loehning
de4fedbe50 Fixed opening of Qt version settings when debug helpers are not found.
Reviewed-by: Friedemann Kleint
2009-12-03 15:40:27 +01:00
con
fa34847571 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/qt4projectmanager/qt4project.cpp
2009-11-03 18:08:01 +01:00
dt
a4d1eb48c7 Initialize m_engine to zero.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-11-03 17:26:22 +01:00
Oswald Buddenhagen
a4f2396323 fix shutdowns triggered while inferior is not stopped
Reviewed-by: hjk
2009-11-02 17:13:47 +01:00
Friedemann Kleint
d23324f419 Debugger: Protect against launching a 2nd session.
Reviewed-by: dt <qtc-committer@nokia.com>
2009-11-02 14:42:42 +01:00
con
68f193a189 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
Needed changes:
        src/plugins/qt4projectmanager/qtversionmanager.cpp
2009-10-27 18:23:58 +01:00
Oswald Buddenhagen
293b49aecb improve messages 2009-10-26 21:24:44 +01:00