Commit Graph

257 Commits

Author SHA1 Message Date
hjk
7d91609671 debugger: display pointers in hexadecimal again
Change-Id: Ie4b65fcfba99dca08d893b77d2b7fa5b724a1dfa
Reviewed-on: http://codereview.qt.nokia.com/1292
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-08 09:10:11 +02:00
hjk
d647a6002e debugger: display "sub-breakpoints"
<MULTIPLE> happens in constructors, inline functions, and
at other places like 'foreach' lines.

Change-Id: Ifb89b659d279f257ba8295b80a35d605820ec54b
Reviewed-on: http://codereview.qt.nokia.com/498
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-20 11:34:22 +02:00
qthjk
710b360384 debugger: fix selection of displays of integer-ish data
Change-Id: I9e9d22884a53f462b6e7a3e823cb14958c0eccd9
Reviewed-on: http://codereview.qt.nokia.com/93
Reviewed-by: hjk <qthjk@ovi.com>
2011-05-24 16:40:26 +02:00
hjk
4bd6bb4d55 debugger: improve robustness of watchers
This solves one common case of adding the 'class' *(class X*)0xdeadbeef
"needed" by gdb in case a local variable at the same location is known.

Change-Id: I5b25530b00e512c6e9155fb111ff4dc916832074
Reviewed-on: http://codereview.qt.nokia.com/76
Reviewed-by: hjk
2011-05-24 11:47:13 +02:00
hjk
752066d043 debugger: show something when editing 2011-05-17 16:47:35 +02:00
hjk
5aaa595eb0 debugger: allow hex etc formatting for anything that looks like an integer 2011-05-17 12:59:54 +02:00
hjk
fb7f576ede debuggger: allow change of display for templated types 2011-05-17 12:59:54 +02:00
hjk
e8496ca33f debugger: work on watchpoints (or, "data breakpoints" as they are called now) 2011-05-10 15:58:11 +02:00
hjk
c620749b95 debugger: introduce watchpoint-by-expression 2011-05-09 09:04:55 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Friedemann Kleint
1ae9679c40 Debugger: Separate internal constants. 2011-04-21 15:52:51 +02:00
Friedemann Kleint
bbe9c6c023 Debugger/Stack layout view: Exclude Dereferenced Pointers.
by WatchData::referencingAddress as they are outside
the address range.
2011-04-21 13:39:40 +02:00
Friedemann Kleint
5e5e533764 Debugger: Fix up titles/tooltips of memory views. 2011-04-21 09:10:31 +02:00
hjk
fea6bcd944 debugger: enable latin1 or utf8 char[] display 2011-04-18 16:15:39 +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
67d391019b Debugger: Have Python dumper print type size information.
For memory views. In the dumper, create a cache of TypeInfo
structs to contain type information and print the new entries
in each call of bb().

Collect the information in the gdb engine.
Replace WatchData::origAddress by WatchData::ReferencingAddress
to be able to correctly handle automatically dereferenced
pointers of the gdb engine. Whereas 'address' of a automatically
dereferenced used to be that of the pointer, it is now that
of the dereferenced item matching the size reported, enabling
memory views. Referencing address is now the address of the pointer.

Reviewed-by: hjk
2011-04-12 15:56:03 +02:00
hjk
cd9aec6df9 debugger: make original value of automatically dereferenced pointer accessible 2011-04-06 18:40:32 +02:00
Friedemann Kleint
122f6a1845 Debugger: Add size to watch data.
Have CDB report it, pass it on to adding watches.
2011-04-04 16:15:03 +02:00
Christiaan Janssen
7100d29f66 QmlDebugger: user input on watches
Reviewed-by: hjk
2011-03-24 13:21:30 +01:00
Christiaan Janssen
fd66f68671 QmlDebugger: Watchers
Reviewed-by: hjk
2011-03-24 13:12:57 +01:00
hjk
b1d255efeb debugger: fix removal of dummy <Edit> watch item using the <Del> key 2011-03-17 19:37:07 +01:00
hjk
2780ff6f22 debugger: refactor watch point lookup
In preparation of bitfield watch points.
2011-03-01 19:17:03 +01:00
hjk
fbdfb3acae debugger: display size of bitfields in 'type' column 2011-03-01 17:04:36 +01:00
hjk
1b47a7f464 debugger: move watcher saving to better position 2011-02-28 18:56:23 +01:00
hjk
2e59bc9a66 fix a few krazy warnings 2011-02-23 17:38:26 +01:00
hjk
c46ad44c02 debugger: reduce line noise 2011-02-22 18:02:29 +01:00
hjk
98c4b82c2d debugger: make output format of non-printable characters customizable 2011-02-17 19:01:07 +01:00
hjk
8c3e61e083 debugger: even less peep-hole feeling for the watchers 2011-02-17 19:01:07 +01:00
hjk
0d4ef2939f debugger: remove obstructing frame around l&w item delegates 2011-02-17 16:32:50 +01:00
hjk
8735f0d1bb debugger: code cosmetics 2011-02-14 13:42:13 +01:00
hjk
c3ff7fa73d debugger: switch do fkleint's style of debug output enabling 2011-01-25 10:59:45 +01:00
hjk
199361834b debugger: fix the ShowQtNamespace option in the Locals & Watchers window 2011-01-17 15:38:01 +01:00
Friedemann Kleint
7bae5dd556 Debugger: Fix action to remove all watch items. 2011-01-17 09:12:37 +01:00
Friedemann Kleint
2f6a86d6a5 Debugger: Add some menu actions.
- Windows: Inspect a module by running depends.
- Clear all watches.
2011-01-14 17:28:37 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +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
cfd2dbb395 debugger: split debuggeragents.{h,cpp} int {memory,disassembler}agent.{h,cpp} 2010-12-08 16:48:35 +01:00
hjk
a9f825fc2e debugger: remove needless indirection 2010-11-26 11:27:25 +01:00
hjk
15ee289ee2 make breakpoint and watchers view more robust when switching sessions 2010-11-25 17:17:31 +01:00
Friedemann Kleint
2960c735df Debugger/CPP: Move helpers to simplify types to CPlusPlus-lib.
Make available for log simplification, etc.
Add autotest, fix broken std::set and MSVC.

Rubber-stamped-by: Christian Kamm <christian.d.kamm@nokia.com>
2010-11-25 13:51:54 +01:00
hjk
f2e8a65ca9 debugger: some comments 2010-11-23 16:43:48 +01:00
hjk
ba811dfb71 debugger: make watchers visible after project load again 2010-11-23 13:45:18 +01:00
hjk
790648b915 debugger: make freshly inserted watchers immediately visble
Even if no engine is running.
2010-11-23 13:45:18 +01:00
hjk
66bffd3dcd debugger: move the "SOMETHING NEEDED" message from console to log 2010-11-23 12:37:44 +01:00
hjk
acdae43ab7 debugger: split an assert
Always nice to know which part failed.
2010-11-22 17:12:50 +01:00
Friedemann Kleint
c35672eaa8 Debugger: Remove 'friend gdbengine' from stackhandler.
Preparing the introduction of tooltips for the new
CDB engine. Fix some breakpoint states in CDB.
2010-11-22 17:06:08 +01:00
Friedemann Kleint
f9eea7e1ec Debugger: Fix broken display of containers with truncated item count.
Introduce convention '<>10 items>' meaning <more than 10 items>.

Task-number: QTCREATORBUG-3132
2010-11-18 15:42:01 +01:00
hjk
8ae541b36f debugger: Refactor breakpoint handling.
The breakpoints are now (fairly) tightly guarded by the BreakpointHandler.
Engines and Views are only supposed to refer to them by id. They also have
individual states now. The breakpoint data is split into a "user requested"
"fixed" part in BreakpointData and the engines' acknowledged data in a new
struct BreakpointResponse.

TODO: Move m_state and m_engine members to BreakpointResponse. Fix regressions
in the marker handling.
2010-11-15 12:09:25 +01:00