Commit Graph

219 Commits

Author SHA1 Message Date
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
Tobias Hunger
a6ad773722 Make method naming more consistent.
* Use id() for methods returning a string used to represent
    some type of object.
  * Use displayName() for strings that are meant to be user
    visible.
  * Quieten some warnings while touching the files anyway.
  * Move Factories to their products in the plugins where that
    was not done before.

Reviewed-by: dt
2010-01-07 18:17:24 +01:00
con
0de840cb43 debugger: make watchdog timeout configurable
(cherry picked from commit bf077800b8)

Conflicts:

	src/plugins/debugger/debuggerplugin.cpp
	src/plugins/debugger/gdb/gdboptionspage.ui
2010-01-06 15:57:10 +01:00
hjk
ca637fdc33 debugger: make use of full source file list optional
(cherry picked from commit 8c52f5720c)
2010-01-06 15:57:10 +01:00
con
1906319940 debugger: make the option to write timestamps to the log persistent
(cherry picked from commit a5c5cfc42e)

Conflicts:

	src/plugins/debugger/debuggerplugin.cpp
2010-01-06 15:57:10 +01:00
Friedemann Kleint
bd8d2b0b8a Debugger: Enable attaching with -client option.
Make it possible to trigger a debug-attach in a running instance
of Qt Creator by means of -client, use that in qtcdebugger, thus
enabling it to attaching to crashing executables in run mode
(Windows/CDB).

Modify IPlugin and application so that the complete command line is
serialized and transmitted to a running instance via QtSingleApplication
if -client is specified. Introduce IPlugin::remoteArgument and use that
in core for opening files and in the debugger for attaching.

Use -client in qtcdebugger with some logic to keep it alive as long as
the debuggee, make CDB break in that case as the events are not replayed
correctly in case the debugger is not spawned by the registered handler.
Rubber-stamped-by: con <qtc-committer@nokia.com>
2009-12-14 18:01:39 +01:00
mae
43515f1cf6 Add a minimize/maximize action to the output pane
This is part of a bigger change to get rid of the output mode.

Reviewed-by: con
2009-12-14 14:26:49 +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
abdd3d9d5b debugger: make Add to Watchwindow menu entry work again 2009-12-11 18:00:36 +01:00
ck
b5abd7b9a6 Remote Debugging Dialog: Make it possible to choose the debugger.
Reviewed-by: hjk
2009-12-11 11:49:32 +01:00