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
hjk
89eb27d231
debugger: remove some dead code
2010-11-10 14:36:53 +01:00
hjk
2161e0f6d9
debugger: refactoring of the plugin interface
...
There's some 'external' and some 'internal' part now. Other plugins
are only supposed the external interface.
2010-11-10 12:08:23 +01:00
hjk
b373da1b12
debugger: more handler/window refactoring
2010-11-08 13:20:12 +01:00
hjk
91ba3949d5
debugger: remove sessionengine
2010-11-05 13:36:18 +01:00
hjk
4ad493c958
debugger: re-enable functions and cleanup after breakhandler move
2010-11-04 11:28:08 +01:00
hjk
8e62715130
debugger: move logical ownership of breakhandler from engines to plugin
2010-11-04 09:55:05 +01:00
Friedemann Kleint
22f03cbde6
ProjectExplor/Debugger: Header cleanup
2010-11-02 16:14:00 +01:00
hjk
0afb34d5eb
debugger: refactor breakpoint type, add function name to resolved jsbreakpoints
2010-10-29 14:31:16 +02:00
Friedemann Kleint
82f80d5403
Debugger[CDB]: Do not evaluate watch expressions at all.
...
setError() on them instead (should there be any from
a session mixup). Give the session engine watcher
capabilities and ensure 'Remove watch item' is enabled
for the session engine by checking the debugger state.
Reviewed-by: hjk
2010-10-11 12:59:49 +02:00
Friedemann Kleint
edeccf7307
Debugger: Fix dumpers in case alphabetical sorting is off.
...
No longer change iname to obtain sorting.
Reviewed-by: hjk
2010-10-08 14:57:39 +02:00
Friedemann Kleint
f536079585
Debugger: Streamline watch editing code.
...
Implement WatchModel::data() to return the right values
for Qt::EditRole, obsoleting the role matching in the delegate.
Similarly, handle Qt::EditRole in setData(), leaving only
'Change watch expression' in the delegate, which removes
and recreates a row, causing crashes when done in setData().
2010-09-24 10:38:17 +02:00
Friedemann Kleint
13c97d652e
Debugger: Fixes around watch editing.
...
assignValueInDebugger: Pass on WatchData as well, pass
on values as QVariant. Based on that, do more extensive
checks in CDB, preventing assignment of non-PODs.
Locals/Watch editing:
* Disable while running
* Edit pointer values as hex with validation.
CDB: Strip class types off reported pointer values and reformat
the values as short 0x-pointer values, introduce flag to
WatchData::source to do dumper expansion handling.
Windows: recognize int64 as int.
Register handler: Fix accessing uninitialized value.
2010-09-23 13:22:08 +02:00
hjk
034bb72dc4
debugger: make alphabetic sorting of struct members optional.
...
Task-number: QTCREATORBUG-1608
2010-09-23 11:17:01 +02:00
hjk
6b665ac991
debugger: make only toplevel watchers editable
2010-09-23 08:24:52 +02:00
Friedemann Kleint
ca808cc7b4
Debugger: Add special widgets for editing watch values.
...
Create delegate widgets with validation for bool/int/float
types, using a QVariant-type modelData property.
Also fix register editing to be validated for quint64 values
and editing longer values as hex bigints. Anything else is not
editable.
2010-09-22 17:30:22 +02:00
Friedemann Kleint
b67c1a7889
Debugger: Sanitize Datatypes, part 3: Address of watch items.
...
Use a quint64 as address. Split apart special handling of
QAbstractItemModels of old shared-library based dumpers
(passing '$'+ special expression as address) into separate
dumperFlags QByteArray.
2010-09-22 11:19:35 +02:00
Friedemann Kleint
3b145f00fe
Debugger: Small fixes
...
CDB: expand pointers correctly
Check for watchpoints at pointed to-addresses correctly.
2010-09-22 09:01:38 +02:00
Friedemann Kleint
332889aec2
Debugger: Sanitize Datatypes, part 1: Breakpoints.
...
Make address a quint64, linnumber and ignoreCounts int.
Reviewed-by: hjk
2010-09-21 14:26:45 +02:00
hjk
bd2d160a95
debugger: suppress variable tooltips with outdated contents
2010-09-15 19:02:35 +02:00
Friedemann Kleint
66ad76de4f
I18n: tr-fixes.
2010-09-13 16:51:43 +02:00
hjk
7457083bab
debugger: only update variables that are operated on
2010-09-13 08:32:37 +02:00
hjk
88f3c894e4
debugger: make some of the dumper generated static strings translatable
2010-09-08 17:01:47 +02:00
hjk
1d3606f4b9
debugger: provide a method to copy Locals&Watchers contents into a main editor.
...
Task-number: QTCREATORBUG-982
2010-09-08 09:10:22 +02:00
hjk
f91ba77cee
debugger: more QByteArray/type
2010-09-01 19:14:41 +02:00
hjk
4cbbe366af
debugger: make a 'type' a QByteArray, not a QString
...
Saves lots of conversion.
2010-09-01 17:36:09 +02:00
hjk
56fd90e5cc
debugger: fix spelling of synchronous
...
Finally.
2010-08-30 10:38:38 +02:00
hjk
57cc0df0f6
debugger: don't show format options for 'bool'
...
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2126
2010-08-26 17:24:01 +02:00