Commit Graph

228 Commits

Author SHA1 Message Date
hjk
61e52d2e70 debugger: create actions for 'Stack Up' and 'Stack Down'
There is no shortcut associated with these actions, the user has to
set them up by himself.
2010-06-07 13:18:28 +02:00
hjk
5806009d29 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/debugger/debuggermanager.cpp
	src/plugins/texteditor/basetexteditor.cpp
2010-06-02 09:57:23 +02:00
hjk
ea6ff5913a debugger: switch off reverse debugging tool button if not useful 2010-06-01 14:33:26 +02:00
hjk
381c54063c debugger: remove obsolete createBreakpointByFileAndLine() 2010-05-28 13:44:49 +02:00
hjk
d8318a9502 debugger: refactor breakpoint handling
Use BreakpointData objects for communicaition instead of random
collection of some of their attributes.
2010-05-17 15:41:59 +02:00
hjk
e65e011706 debugger: let the user specify a working directory when starting a local
application
2010-05-12 11:48:00 +02:00
ck
ef7c5fae60 Debugger: Support running GDB over SSH.
Reviewed-by: hjk
2010-05-05 12:51:21 +02:00
hjk
a945e96377 Revive TCF agent
This mainly reverts commit ba47987e67.

Conflicts:

	src/plugins/debugger/debugger.pro
	src/plugins/debugger/debuggermanager.cpp
	src/plugins/debugger/debuggermanager.h
	src/plugins/debugger/debuggerplugin.cpp
	src/plugins/debugger/debuggerplugin.h
2010-05-05 12:41:52 +02:00
con
ca14299790 Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
con
00dac575a3 Don't delete members in DebuggerPlugin::shutdown.
Do it in the destructor instead.

Reviewed-by: hjk
2010-04-28 17:31:51 +02:00
Thorbjørn Lindeijer
712c7e212e Make TextEditorPlugin internal again
The TextEditorSettings class already provides the appropriate signal.
2010-04-20 09:09:09 +02:00
Lasse Holmstedt
af3f10dfdd Fixed auto-switching issues with QML inspector and c++ debugger
Reviewed-by: hjk
2010-04-13 15:16:03 +02:00
hjk
a795c69325 debugger: more breakpoint refactoring 2010-04-12 12:02:16 +02:00
Friedemann Kleint
6d2c9abb5d Debugger/[gdb]: Remote debugging: Override toolchain gdb-detection
if an executable was specified.
2010-04-12 08:38:28 +02:00
hjk
239e4ca507 debugger: move toggleBreakpoint() from DebuggerManager to DebuggerPlugin 2010-04-09 15:58:17 +02:00
hjk
4eb83cd8b2 debugger: basic support for address-based breakpoints 2010-04-09 15:32:33 +02:00
Thorbjørn Lindeijer
e3cae2b52a Comment fix and removed misplaced backslash 2010-04-08 16:28:04 +02:00
hjk
6249aabc75 debugger: prevent the QML editor from setting breakpoints 2010-04-06 17:58:46 +02:00
hjk
f773f4295d debugger: some gui & code cosmetics 2010-04-06 17:58:46 +02:00
hjk
c3afba0f0d debugger: add a context menu action to the stackview to create a full
backtrace in the main editor.

Useful for sending bug reports.
2010-03-30 17:26:52 +02:00
Thorbjørn Lindeijer
2d21060bc9 Added icons to options dialog categories
Some categories do not have icons yet, unfortunately.
2010-03-26 17:47:31 +01:00
Robert Loehning
4dc3ead0d3 Added an option to register Creator as post-mortem debugger.
Task-number: QTCREATORBUG-450
2010-03-25 17:04:21 +01:00
con
6bd7a5a17d Fixes: Tooltips for hover help didn't show up anymore.
Reviewed-by: Thorbjørn
2010-03-23 18:24:59 +01:00
Thorbjørn Lindeijer
510971d216 Introduced a single convenient function for updating additional contexts
While before you had to call add, then remove for each context id and
then call update, now you call updateAdditionalContexts with a list of
contexts to remove and add. It has the update step built in.

Reviewed-by: con
2010-03-23 15:35:22 +01:00
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
Lasse Holmstedt
d5bdad2269 context-based hiding/showing of debug menu entries
the previous implementation relied on poking around with setVisible
of the menu actions. Now, command attribute CA_Hide is used instead for
the necessary entries.

Reviewed-by: hjk
2010-03-19 13:59:57 +01:00
Lasse Holmstedt
4e578d955a setting menu item visiblity in debuggeruiswitcher 2010-03-18 17:10:18 +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
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
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
9d624732c8 debugger: code cosmetics 2010-03-11 12:25:05 +01:00
hjk
60995cf0ab debugger: re-enable basic support for reverse execution.
Needs polishing.
2010-03-11 12:04:19 +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
hjk
944b6dad7d texteditor: return information on whether openEditor actually created an
editor or re-used an existing one
2010-03-10 13:46:45 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Jens Bache-Wiig
c94e06bbbd Migrate ManhattanStyle to use QProxyStyle 2010-02-23 12:42:35 +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
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
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
hjk
1b77161e71 debugger: clean up verbosity settings in trk adapter 2010-01-15 12:07:45 +01:00
con
a24738ffab Fixes: Diff editors don't get correct name.
They were no longer showing e.g. the file name of the diffed file.
Also separate editor id and editor context a bit.
2010-01-11 16:54:30 +01:00