Commit Graph

88 Commits

Author SHA1 Message Date
hjk
a25fd01a10 debugger: simplify handling of context menu actions of the Locals&Watchers view 2010-06-23 16:16:32 +02:00
hjk
6a6cba5518 debugger: The DebuggerEngine refactoring.
This replaces the (de facto) singleton engines and data handlers by classes
that are instantiated per run. The DebuggerRunControl will now create an
object of (a class derived from) DebuggerEngine that contains all the relevant
"dynamic" data.

DebuggerManager is no more. The "singleton" bits are merged into DebuggerPlugin,
whereas the data bits went to DebuggerEngine.

There is no formal notion of a "current" DebuggerEngine. However, as there's
only one DebuggerEngine at a time that has its data models connected to the
view, there's still some "de facto" notion of a "current" engine. Calling
SomeModel::setData(int role, QVariant data) with custom role is used as the
primary dispatch mechanism from the views to the "current" data models
(and the engine, as all data models know their engine).
2010-06-22 10:59:57 +02:00
con
5e40846c23 Fixes: Not possible to tell whether "Operate by instruction" is enabled
from Menu entry

Don't show the icon of checkable items in the menu to avoid being
affected by broken styles.

Task-number: QTCREATORBUG-1173
2010-06-11 15:33:11 +02:00
Friedemann Kleint
da22181916 Debugger[gdb]: Introduce new control for gdb binaries.
Manage binaries as a map of binary-><toolchain number>.
Provide list widget and editing dialog with tooltip
showing the version. Save in settings as a flat list of
keys.
Acked-by: hjk
2010-04-08 16:55:25 +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
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
hjk
af14d9fc48 debugger: remove or rename a few images. 2010-03-22 15:09:41 +01:00
Lasse Holmstedt
f9a9dd7dbf fixed merge issues and cleaned up code 2010-03-18 17:05:51 +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
Robert Loehning
bca6dedb67 Removed unused SavedAction. 2010-03-18 13:45:06 +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
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
con
7af10a0396 New debug related icons. 2010-02-23 17:00:49 +01:00
hjk
071c99b4a5 debugger: more Book Case, some new tooltips. 2010-02-17 17:08:02 +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
40f0d4d7c3 Debuggers: Enable Python-dumpers for Windows-built gdb.
Engine: Introduce convention of setting the PYTHONPATH
variable to <path-to-gdb>\python2.5 for WIndows.

Dumpers: Import 'curses' depending on platform, fix Syntax
for 2.5, catch file lock errors by os.remove.
Reviewed-by: hjk
2010-02-03 16:52:37 +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
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
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
f2392ffbc0 debugger: allow the user to hide the std:: and Qt's namespace 2009-11-25 13:46:33 +01:00
Friedemann Kleint
b519a1132a Debugger: Activate code model scope checking, environment var for Trk verbosity.
Reviewed-by: hjk
2009-11-09 16:25:40 +01: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
hjk
d130588469 debugger: add option to automatically derefence pointers in locals&watchers 2009-10-06 10:54:08 +02:00
hjk
75529d87d3 debugger: rework 'jump to source' logic 2009-10-05 12:01:23 +02:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
hjk
ccd37a6655 debugger: make 'address column' in stack and breakpoint view optional 2009-10-01 11:42:04 +02:00
hjk
573ca3ad85 debugger: rename StepByInstruction into OperateByInstruction 2009-09-29 14:47:27 +02:00
hjk
46952c04eb act on http://bugreports.qt.nokia.com/browse/QTCREATORBUG-123 2009-09-23 16:11:25 +02:00
Friedemann Kleint
a04d0978f8 I18n: Updated German translation, fixed tr-Bugs for 1.2.9 2009-08-19 12:32:23 +02:00
hjk
1e7cee620b debugger: make register contents editable (gdb only for now) 2009-08-18 08:37:53 +02:00
hjk
e82d6c7b05 debugger: create a disassembler view as main editor
"Stepping instruction wise" and "display disassembler" mode is now toggled by a
single action. This also allows to re-use F10 and F11 as keyboard shortcut.

Missing: caching of disassembler output, removal of old disassembler view.
2009-08-17 13:18:54 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
hjk
abdc85f070 debugger: register view cosmetics
Show the current number base in the view.
2009-08-13 16:16:19 +02:00
hjk
6fd0433cd6 debugger: pop up a window when the application receives a signal like SIGSEGV
Just mentioning it in the status bar is often not enough to take notice.
2009-08-13 15:01:57 +02:00
hjk
013437cfab debugger: add widget watchers by mouse click in the debugged application.
The option is hidden in the context menu.
Currently the application must be stopped.
2009-07-01 14:15:44 +02:00
hjk
5797b28f9c debugger: initialize values in saved actions to prevent triggering updates
when reading settings
2009-07-01 14:15:44 +02:00
hjk
68fa327407 debugger: set default values for all saved options 2009-06-26 13:24:25 +02:00
hjk
3545c822c9 debugger: put some color into the outputpane 2009-06-19 12:05:23 +02:00
hjk
609f4a437b debugger: Rework watch model.
It's now properly using canFetchMore/fetchMore. cdb is not yet ported.
2009-06-17 16:00:04 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
hjk
5ff00c84ae debugger: basic support for reverse debugging
works only with gbd 7.0 so far.
2009-05-25 17:23:19 +02:00
Friedemann Kleint
14e39ba5af Fixed translation issues. 2009-05-07 15:34:52 +02:00
hjk
307470b21f debugger: make striped background of debug views optional 2009-05-05 10:15:09 +02:00
hjk
d37a2d3aad debugger: introduce enabling/disabling of breakpoints 2009-04-28 15:09:23 +02:00