Commit Graph

205 Commits

Author SHA1 Message Date
hjk
8afd8b8614 debugger: deactivate thread window operations during stepping 2011-04-19 12:35:02 +02:00
Friedemann Kleint
ed30a3f724 Debugger: Use bin editor widget for standalone-memory views.
Remove MemoryViewWidget/RegisterMemoryViewWidget
in favour of MemoryView/RegisterMemoryView based on the bin
editor widget.
2011-04-19 12:19:23 +02:00
Christiaan Janssen
42048fa2a0 QmlDebugger: fixed shutdown combined engine
Task-number: QTCREATORBUG-4451

Reviewed-by: Kai Koehne
2011-04-18 17:01:37 +02:00
Oswald Buddenhagen
dc3c156cac Merge branch '2.2'
Conflicts:
	src/plugins/debugger/gdb/pythongdbengine.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
	src/plugins/qt4projectmanager/qt4target.cpp
	src/plugins/qt4projectmanager/qt4target.h
	src/plugins/qt4projectmanager/qtoptionspage.h
	src/plugins/qt4projectmanager/qtversionmanager.cpp
	src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Friedemann Kleint
f3cc061dbe Debugger: Add memory views.
Add a separate memory view tool window available
from the context menus of:

Locals view:
   If the debugger provides size information, colors the
   areas of member variables for inspecting class layouts.

Registers view:
   Tracks the area pointed to by a register.

The view has a context menu allowing to open subviews
referenced by the pointer at the location using
the toolchain abi's word with/endianness.

Rubber-stamped-by: hjk
2011-04-08 16:22:56 +02:00
con
3de823ca62 Merge remote branch 'origin/2.2'
Conflicts:
	qtcreator.pri
	src/plugins/projectexplorer/toolchainmanager.cpp
2011-03-28 11:40:45 +02:00
Christiaan Janssen
7100d29f66 QmlDebugger: user input on watches
Reviewed-by: hjk
2011-03-24 13:21:30 +01:00
Oswald Buddenhagen
4e2937bf48 Merge remote-tracking branch 'origin/2.2'
Conflicts:
	src/plugins/debugger/debuggersourcepathmappingwidget.cpp
2011-03-23 14:42:31 +01:00
hjk
74914f4753 debugger: fix spelling in irrelevant message 2011-03-22 17:03:07 +01:00
dt
4f278cbfed Merge remote branch 'origin/2.2'
Conflicts:
	src/plugins/debugger/disassembleragent.cpp
2011-03-21 17:48:19 +01:00
hjk
a18d0572bd texteditor: simplify basetextmark architecture
ITextMark is not abstract anymore and has an icon and a priority.
This means separate breakpoint and location marker classes that
are only "plain" marks with icons and priorities are not needed.

BaseTextMark directly inherits from ITextMark, instead of owning
an ITextMark derived InternalMark.

Also, there is now ITextMark::paint() to make it a bit more flexible
then icon()[->paint()]
2011-03-21 17:15:02 +01:00
hjk
7198b1ea8b debugger: fix vanishing location mark in disassembler mode
Task-number: QTCREATORBUG-4157
2011-03-18 18:34:02 +01:00
hjk
1b1896b38b texteditor: give priorities to mark to ensure z-order when drawing 2011-03-02 18:43:26 +01:00
hjk
f125b57163 debugger: work on writable memory view 2011-02-25 14:30:38 +01:00
hjk
66896e1908 debugger: more verbose status message on sigsegv even if messagebox was disabled 2011-02-23 11:28:20 +01:00
hjk
5f38a26c9e debugger: fix 'Jump To/Run to' when in instruction-wise mode 2011-02-23 11:11:39 +01:00
hjk
cd18b3ce03 debugger: add a 'Debugger finished' statusbar message 2011-02-23 10:17:21 +01:00
Tobias Hunger
8d0c477245 ToolChain: Refactor toolchain support
Refactor ToolChains in Qt Creator:

 * Allow for several toolchains of the same type
 * Be smarter wrt. guessing what kind of output a toolchain
   produces. This allows us to eventually handle e.g. embedded
   linux setups way better than before.
 * Be smarter wrt. guessing what kind of environment a Qt version
   needs.
 * Improve auto-detection of toolchains a bit
 * Decide on which debugger to use based on the kind of output
   produced by the compiler.
 * Add options page to configure toolchains
 * Remove toolchain related options from the Qt version dialog

Reviewed-by: dt
2011-02-21 18:33:23 +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
hjk
cfbf853dae debugger: InferiorUnrunnable is an acceptable state at exitDebugger() time 2011-02-15 12:04:12 +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
d8763dca59 debugger: prevent crash 2011-02-10 13:44:40 +01:00
Christiaan Janssen
2c5d94c3c9 QmlCppDebugger: adjusted state changes when one engine fails
reviewed-by: hjk
2011-02-02 12:31:40 +01:00
hjk
49710f3986 debugger: show combined C++/QML stack 2011-01-19 17:34:47 +01:00
hjk
c736cc3c8d debugger: use 'maint print msymbols' to extract Qt's namespace
still racy
2011-01-19 14:07:51 +01:00
hjk
8a9debda94 debugger: fix crash on exit 2011-01-18 09:47:17 +01:00
hjk
50ea7ab354 debugger: remove some debug output 2011-01-17 12:28:32 +01:00
hjk
331ebd5be1 debugger: simplify combined state handling 2011-01-17 10:07:33 +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
cdee3dc6cd debugger: some start up state consolidation 2011-01-17 10:07:33 +01:00
hjk
f245ee6fb5 debugger: finish combined shutdown properly 2011-01-17 10:07:32 +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
hjk
1c7c49e228 debugger: reorganize debuggerengine.h 2011-01-12 14:14:57 +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
0ee4011cfd debugger: compile fix, minor cleanup 2011-01-07 10:13:55 +01:00
hjk
0b5591ae7a debugger move DebuggerStartParameters into file of its own 2011-01-07 09:44:48 +01:00
hjk
63eaf1e132 debugger: add an option to load "missing" symbols for current stack 2010-12-21 13:36:28 +01:00
hjk
6b13434a45 debugger: don't crash in gotoLocation() if no editor can be created 2010-12-21 12:30:50 +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
2f484fd7e8 debugger: remove a bit of stackview flicker by using the 80 ms timer 2010-12-17 11:59:01 +01:00
hjk
9757e22113 debugger: introduce the concept of a 'Location', used by gotoLocation 2010-12-17 11:59:01 +01:00
hjk
92e8524734 debugger: hot fix for not activated editors while stepping 2010-12-16 10:44:48 +01:00
hjk
133feaae51 debugger: code cosmetics 2010-12-14 16:11:23 +01:00
hjk
0c43604e59 debugger: make memory view updatable
Still some flickering and no marks which parts changed.
2010-12-14 16:01:44 +01:00