Commit Graph

197 Commits

Author SHA1 Message Date
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
hjk
57634ab2d1 debugger: add a line edit to specify the local executable for gdb remote
debugging

Long term that would probably better as a run configuration.
2009-12-10 16:58:54 +01:00
hjk
b3154e1b30 debugger: make remote gdb architecture user editable 2009-12-10 16:58:54 +01:00
hjk
bf077800b8 debugger: make watchdog timeout configurable 2009-12-09 17:41:59 +01:00
hjk
fd73952e9a debugger: avoid unpleasant line break in warning 2009-12-09 13:53:57 +01:00
hjk
8c52f5720c debugger: make use of full source file list optional 2009-12-09 13:52:12 +01:00
hjk
a5c5cfc42e debugger: make the option to write timestamps to the log persistent 2009-12-08 17:46:52 +01:00
Friedemann Kleint
a8ac34c347 Options: Sort by category, id.
Separate category and trCategory and introduce sorting characters
to the categories. Same for id/name.
2009-11-27 16:12:12 +01:00
hjk
f2392ffbc0 debugger: allow the user to hide the std:: and Qt's namespace 2009-11-25 13:46:33 +01:00
Friedemann Kleint
65e11062bb Polish the settings dialog.
Add a title label to the pages. Use QGroupBoxes throughout.
Extend SavedAction to work with checkable QGroupBoxes. Polish UI files,
use common layout for VCS plugins. Performance: Apply only visited
settings pages. Add search keywords.

Task-number: QTCREATOR-26
2009-11-24 15:05:02 +01:00
dt
10a0647ddf Remove QSharedPointer<> for RunConfiguration 2009-11-19 16:35:18 +01:00
Friedemann Kleint
b8bd20dd42 Revert "Debugger: Disable "Start debugging" when attaching/starting remote"
This reverts commit c069cd588a.
2009-11-02 12:57:25 +01:00
Friedemann Kleint
c069cd588a Debugger: Disable "Start debugging" when attaching/starting remote
Directly enable project explorer actions.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-11-02 12:47:47 +01:00
con
be3fafc311 Merge commit '2be0845c7492ad991f23ce5c90c322df788b62b5'
Conflicts:
	src/plugins/projectexplorer/projectexplorer.h
	src/plugins/qt4projectmanager/qt4projectconfigwidget.cpp
	src/plugins/qt4projectmanager/qt4runconfiguration.cpp
	src/plugins/qt4projectmanager/qtversionmanager.cpp
2009-10-29 18:54:17 +01:00
Oswald Buddenhagen
3945b967ad improve termination confirmation dialog
- default to yes
- better message
- give it a parent
2009-10-27 20:21:59 +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
Friedemann Kleint
3fd1e5b23f Debugger: Fix exit crash, dump QVariantList with gdb
Handle QVariantList within dumpers, as gdb does not resolve
typedefs. Disconnect the gdb process on exit, one more round
of event loop when quitting.
2009-10-27 09:51:14 +01:00
Friedemann Kleint
9dc11c5d73 Debugger: Handle core shutdown, prompt user to terminate debugging.
Add a corelistener and trigger on shutdown. Notify about critical
states.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-10-26 18:05:22 +01:00
dt
e57bcafc0d Fix startExternal, attachExternal &more to not use a RunConfiguration
Removes around 50 lines of code, one completly unecessary class and
makes the code paths easier to understand.
2009-10-21 13:50:31 +02:00
Oswald Buddenhagen
c9f9310bb1 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/cpptools/cppcodecompletion.cpp
	src/plugins/debugger/gdb/remotegdbadapter.cpp
2009-10-20 20:09:00 +02:00
ck
6a49395e33 Add experimental Maemo support.
Includes Maemo tool chain, run configuration, run control,
manager, etc.

Adds the DebuggerManager to the object pool. This is ugly, but
nobody came up with anything better on short notice. To be
refactored.

Co-Authored-By: kh1
2009-10-16 18:01:07 +02:00
ck
46c4f84a04 Add support for "set sysroot" for remote debugging. 2009-10-16 18:01:07 +02:00
Friedemann Kleint
25ee70bb24 Debugger: Use the code model to detect unitialized variables.
This should save debugger round trips and crashes in the debugging
helpers.
Add respective option to debugging helper option page, defaulting to
true.On this occasion, make CDB detect shadowed variables correctly
and display them as "<shadowed n>" as does the Gdb engine by
reversing the direction in which
CdbSymbolGroupContext::populateINameIndexMap works.
Rubber-stamped-by: hjk <qtc-committer@nokia.com>
2009-10-16 16:26:28 +02:00