Commit Graph

702 Commits

Author SHA1 Message Date
Friedemann Kleint
73e9c5790b Debugger: Change UseFullPath setting to an enumeration.
Introducing EngineDefault such that CDB/LLDB can use full paths
by default and gdb can use short paths.

Reviewed-by: hjk
2011-02-17 13:06:51 +01:00
Friedemann Kleint
c74da9b7c5 Debugger: Reduce tooltip flicker.
Move tooltip-request handling from DebuggerPlugin into
DebuggerToolTipManager.

Request tooltip only if position changed and close
standard tooltip on success.
2011-02-17 10:11:23 +01:00
hjk
0b662609a0 debugger: replace action(ExecuteCommand) be a direct function call 2011-02-16 13:07:16 +01:00
Friedemann Kleint
f37d9b55aa L10n: First round of tr()-Fixes for 2.2 2011-02-14 16:37:20 +01:00
Friedemann Kleint
0ac879e39f Debugger: Make tooltips pinnable.
Replace old debugger tooltip by a new ToolTipManager which
has a list of AbstractDebuggerToolTipWidget with the functionality
to 'acquire' an engine (display its data) and 'release' it
(store engine data and display them as 'previous') and serialization
to XML session data.
DebuggerTreeViewToolTipWidget implements AbstractDebuggerToolTipWidget
for tree model acting as  a filter on watch models.

Rubber-stamped-by: hjk
2011-02-11 15:09:02 +01:00
hjk
37686e6a15 debugger: rework logic for chain of disassembler fallbacks.
Old logic was too fragile to maintain.
Now it's  PointMixed -> PointPlain -> RangeMixed -> RangePlain.
2011-02-10 13:44:40 +01:00
Pawel Polanski
532a8ad2e7 Symbian: tcftrk renamed to Coda 2011-02-07 15:38:11 +01:00
Friedemann Kleint
3a100e8d7c Debugger: Make breakpoint capabilities more fine-grained.
Handle in editBreakpoint().

Acked-by: hjk
2011-02-07 11:05:30 +01:00
hjk
62ece8f892 debugger: automatically update breakpoints after manually loading symbols 2011-02-04 15:33:21 +01:00
Kai Koehne
211553768f Debugger: Make error warning a real sentence.
Separate the two warnings by a '. '.
2011-02-04 13:42:01 +01:00
Friedemann Kleint
59b2aac1c4 Debugger: Add 'command[s]' to breakpoints, polish BP dialogs.
Add commands (CDB, gdb with '\n' delimiter for multiple),
rearrange dialogs, make ignore count a spin box.
2011-02-04 11:37:01 +01:00
hjk
d27430f52a debugger: some infrastructure for gdb's target-async 2011-02-03 16:49:58 +01:00
Pawel Polanski
440bba257a Symbian: Added a serial connection type to CODA 2011-01-31 11:34:05 +01:00
Friedemann Kleint
725182916f Debugger: Add to API documentation.
Reviewed-by: hjk
2011-01-26 17:22:25 +01:00
hjk
c3ff7fa73d debugger: switch do fkleint's style of debug output enabling 2011-01-25 10:59:45 +01:00
hjk
9ccc10fa30 debugger: put the current dir into the log and make sure that auto-asolib-add is set 2011-01-25 10:47:18 +01:00
hjk
b9a06c42eb debugger: more work on Qml -> C++ -> Qml "cross stepping" 2011-01-24 13:39:09 +01:00
Friedemann Kleint
8652b17515 Debugger[gdb]: Improve reporting of Windows exceptions.
Particularly affecting Windows DLL loading, which was previously
suppressed.

Reviewed-by: hjk
Task-number: QTCREATORBUG-3470
2011-01-21 16:46:01 +01:00
hjk
43599825e8 debugger: remove dead code 2011-01-19 17:34:47 +01:00
hjk
fd3d7de92c debugger: implement qml->c++ cross-stepping 2011-01-19 15:16:11 +01:00
hjk
c736cc3c8d debugger: use 'maint print msymbols' to extract Qt's namespace
still racy
2011-01-19 14:07:51 +01:00
Friedemann Kleint
51c4740266 Debugger: Fix 'Select widget to watch' on Windows. 2011-01-17 16:33:31 +01:00
hjk
fb25e295ef debugger: use 'struct QWidget' to make gdb happy. Again. 2011-01-17 16:27:58 +01:00
hjk
199361834b debugger: fix the ShowQtNamespace option in the Locals & Watchers window 2011-01-17 15:38:01 +01:00
hjk
72671f1463 debugger: extract qt namespace before running the inferior. 2011-01-17 15:24:14 +01:00
hjk
5aebd173ad debugger: make 'watch widget-by-mouseclick' work again
This was the last feature that was only available in the compiled dumpers.
2011-01-17 12:28:34 +01:00
hjk
13caaabaff debugger: remove InferiorStopSpontaneous state again 2011-01-17 10:07:33 +01:00
hjk
bdfe2ed53b debugger: remove EngineRunOk state again 2011-01-17 10:07:33 +01:00
hjk
1aef962e5a debugger: first shot at combined cpp/qml stepping 2011-01-14 17:09:18 +01:00
hjk
9ff17a8208 debugger: update state diagram 2011-01-14 14:41:01 +01:00
hjk
7195c6b5ad debugger: re-do state transitions in combined C++/Qml engine
This still needs a lot of work and sanitizing.
2011-01-14 14:28:36 +01:00
Pawel Polanski
051011bc37 Symbian: Adjust Creator to work with CODA
Reviewed-by: hjk
2011-01-14 14:21:06 +01:00
Friedemann Kleint
bd704d4926 Debugger: Fix python path for Windows.
Fix 07cac21957.

Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-01-12 15:31:40 +01:00
hjk
6dd55aa471 debugger: introduce generic master/slaves engine 2011-01-12 12:17:47 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Friedemann Kleint
a7eccce733 Debugger: Header cleanup 2011-01-10 10:14:23 +01:00
hjk
21df2cc843 debugger: let the manually corrected bp line number take precedence
Looks like the number from '-break-info' cannot be trusted, even if
'original-line' is present.
2011-01-06 16:44:04 +01:00
Pawel Polanski
5dc4e3b386 Module's start address is not random in debug view 2011-01-06 09:34:45 +01:00
hjk
a8031f16b8 debugger: increase default timeout of gdb watchdog to 40s
Was too low for big core files and general symbian debugging.
2011-01-05 09:56:00 +01:00
hjk
c310c001e7 debugger: use proper struct to pass context information 2011-01-04 16:06:16 +01:00
hjk
dcd57ab2df debugger: try to make core file loading appear snappier 2010-12-21 14:46:42 +01:00
hjk
63eaf1e132 debugger: add an option to load "missing" symbols for current stack 2010-12-21 13:36:28 +01:00
hjk
550a85a432 debugger: update stack view after manually loading modules
Task-number: QTCREATORBUG-3427
2010-12-21 12:41:34 +01:00
hjk
6ddee48081 debugger: don't issue "set print static-members off"
Does not seem to work in an MI context and is not used by the python script.
2010-12-21 12:30:50 +01:00
hjk
a71050b63f debugger: make reading of .gdbinit optional 2010-12-21 12:30:50 +01:00
hjk
96475f9553 debugger: make threadnames feature optional 2010-12-20 17:45:29 +01:00
hjk
d4fcdccad2 debugger: keep track of current gdb thread 2010-12-20 16:28:26 +01:00
con
b1bcf081d8 Merge branch '2.1'
Conflicts:
	src/plugins/coreplugin/basemode.cpp
	src/plugins/coreplugin/basemode.h
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
	src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
	src/plugins/debugger/debuggeragents.cpp
	src/plugins/debugger/debuggeruiswitcher.cpp
	src/plugins/debugger/debuggeruiswitcher.h
	src/plugins/projectexplorer/buildconfigdialog.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
	src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
	src/plugins/qmldesigner/designercore/include/modelutilities.h
	src/plugins/qmldesigner/designercore/include/nodeinstance.h
	src/plugins/qmldesigner/designercore/include/propertymetainfo.h
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
	src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
	src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
	src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
	src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
	src/plugins/qmldesigner/designercore/model/modelutilities.cpp
	src/plugins/snippets/inputwidget.cpp
	src/plugins/snippets/snippetscompletion.cpp
	src/plugins/snippets/snippetscompletion.h
	src/plugins/snippets/snippetspec.cpp
	src/plugins/snippets/snippetsplugin.cpp
	src/plugins/snippets/snippetswindow.cpp
	src/plugins/snippets/snippetswindow.h
	src/plugins/texteditor/snippetsparser.cpp
	src/tools/qml/qmldom/main.cpp
	tests/manual/trk/runner.cpp
	tests/manual/trk/trkolddevice.cpp
	tests/manual/trk/trkolddevice.h
	tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
hjk
82422c469d debugger: don't retrieve the stack if we know we will continue stepping 2010-12-17 13:07:17 +01:00