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
hjk
5f13608c61
debugger: replace \n by \\n in locals & watchers
...
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2144
2010-08-26 13:21:47 +02:00
Kai Koehne
ef1e52dfd1
Merge branch '2.0' of scm.dev.nokia.troll.no:creator/mainline
...
Conflicts:
doc/qtcreator.qdoc
doc/qtcreator.qdocconf
share/qtcreator/gdbmacros/dumper.py
share/qtcreator/gdbmacros/gdbmacros.py
src/plugins/debugger/debuggermanager.cpp
src/plugins/debugger/gdb/attachgdbadapter.cpp
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/watchhandler.cpp
src/plugins/mercurial/mercurialjobrunner.h
src/plugins/qmljseditor/qmljseditor.cpp
src/plugins/qmljseditor/qmljseditor.pro
src/plugins/qmljseditor/qmljseditorplugin.cpp
src/plugins/qmljseditor/qmljseditorplugin.h
src/plugins/qmljseditor/qmljspreviewrunner.cpp
src/plugins/qmljseditor/qmljspreviewrunner.h
src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec
src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp
src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp
src/plugins/qt4projectmanager/qt4projectmanager.pro
src/plugins/qt4projectmanager/qtversionmanager.h
src/plugins/qt4projectmanager/wizards/targetsetuppage.cpp
src/plugins/qt4projectmanager/wizards/targetsetuppage.h
2010-08-23 16:00:24 +02:00
hjk
69fb75b627
debugger: fix 2.x regression: allow assignment to structure members
2010-08-18 13:51:49 +02:00
hjk
0e54b6caa1
debugger: fix assigning new values to structure members
2010-08-18 13:44:36 +02:00
hjk
3f36dbd81a
debugger: simplify code for inserting new watchitems
2010-07-23 18:20:13 +02:00
hjk
d27ec169d0
debugger: do not insert multiple "<Edit>" placeholders when creating new watch
...
items
2010-07-22 15:35:06 +02:00
hjk
6493b4853d
debugger: adjust loading/saving of watched expressions to recent changes
2010-06-25 10:21:39 +02:00
hjk
eb75f40a98
debugger: allow per item selection of display method in Locals&Watchers
2010-06-25 09:16:55 +02:00
hjk
a25fd01a10
debugger: simplify handling of context menu actions of the Locals&Watchers view
2010-06-23 16:16:32 +02:00
hjk
ed2862acce
debugger: remove special mechanism to update watcher and return window
2010-06-23 14:12:14 +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
hjk
4ff2881017
debugger: make watch and register items non-draggable
2010-06-07 10:41:15 +02:00
Friedemann Kleint
9af9c91f93
Debugger/WatchWindow: Add menu options to show pointed to addresses.
...
Change the WatchWindow handling to be based on quint64 addresses to
ensure proper function. Changed roles and added one role to the
watchmodel to obtain addresses and pointed-to addresses. Add some
fiddling to parse out addresses from debugger values.
Add menu options. Make sure only one watchpoint per address is added.
2010-05-19 17:34:47 +02:00
hjk
5c4b0f8866
debugger: fix resetting type formats in Locals and Watchers
2010-05-19 15:16:30 +02:00
hjk
c50dd85088
debugger: show return value of last function call in Locals and Watchers view
...
Works only with gdb/Python so far.
2010-05-19 12:00:56 +02:00
hjk
6bb7b6176f
debugger: add a cut-down version of the dumpers for python
2010-04-27 15:33:23 +02:00
hjk
9a8ac49c2c
debugger: new files for WatchData; move potentially shared code to watchutils.cpp
2010-04-27 15:33:22 +02:00
Robert Loehning
886088a1f3
Fixed debug view of QImage on Windows
...
Reviewed-by: hjk
2010-04-23 18:04:40 +02:00
Friedemann Kleint
02a9a46216
Debugger[CDB]: Fix watchers.
...
Task-number: QTCREATORBUG-1139
2010-04-15 11:57:14 +02:00
Friedemann Kleint
b2ddf72035
Debugger[cdb/gdb]: Fix formatting of integers/messages.
...
- Do not reformat boolean values (true,false) as hex/oct.
- char/unsigned char types (cdb/gdb): Chop off the quoted
printable character output by the debugger, pass around integer
only and append the character ourselves in the watchhandler,
making reformatting as hex/octal work.
- cdb: Check format correctly (fix values output as plain integer).
- cdb: Kill needless warning produced by reformatting output of out-of-scope
variables.
- cdb: Display exceptions in the status bar as non-intrusive crash notification.
Reviewed-by: hjk
2010-04-09 16:39:36 +02:00
hjk
59af793953
debugger: polish address display. also remove the mostly unused 'stored' address
2010-03-23 14:48:32 +01:00
hjk
41d400eb24
debugger: hide "watchers" part of Locals&Watchers if there aren't watchers
2010-03-22 13:41:42 +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
72d90fd5ee
debugger: merge multiple fancy views of the same object
2010-03-17 13:25:29 +01:00
hjk
f0300b9e79
debugger: display cosmetics
2010-03-17 13:04:06 +01:00
hjk
d80d68b73b
debugger: base individual formats on object addresses, not on inames
2010-03-17 12:38:37 +01:00
hjk
4df33ec24c
debugger: add manual test
2010-03-16 18:45:34 +01:00
hjk
e8936ad9d2
debugger: code cosmetics for custom displays
2010-03-16 12:08:33 +01:00
hjk
0cd06f55bc
debugger: don't hard code typeformats except for ints and strings
2010-03-16 12:08:33 +01:00
hjk
a47fa969cd
debugger: speed up QImage dumper
2010-03-15 14:56:55 +01:00
hjk
463ac5d689
debugger: start reviving graphical data display
2010-03-15 12:12:43 +01:00
hjk
c8a61cc8f2
debugger: implement selected of string encoding per pointer type/individual pointer
2010-03-11 18:56:28 +01:00
hjk
3999651fb9
debugger: remove irrelevant comment containing a reminder
2010-03-09 17:50:24 +01:00
hjk
dd7abf87a6
debugger: empty list of fetched variables at the end of the full cycle
...
The original logic was faulty but worked better in the presence of the
original "extra layoutChanged()" hack which is replaced now.
2010-03-09 17:50:24 +01:00
hjk
9033976a3a
debugger: replace a workaround to update the [+] marker when items by a less intrusive one
2010-03-09 12:26:18 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
hjk
35eec621f7
debugger: clear list of expanded items when restarting
2010-02-25 17:56:46 +01:00
hjk
8a0ddf1b9f
debugger: plug leak in watch model.
...
Brace for impact...
2010-02-17 17:08:02 +01:00
hjk
f9b6832edf
debugger: code cosmetics
2010-02-11 14:36:26 +01:00
Kai Koehne
6c4b9ba227
Reapply unconnected changes from reverted commit
...
Only revert stuff that is linked to fast string concat.
2010-02-08 11:13:55 +01:00