hjk
33695b8155
debugger: fix e539f5bda
2010-02-05 15:23:44 +01:00
Oswald Buddenhagen
e70530c5ad
compile everything with QT_USE_FAST_CONCATENATION
2010-02-05 15:20:25 +01:00
hjk
c64b202a2c
debugger: fix unneeded fetchMore() calls by removing a mis-placed beginCycle()
2010-02-04 13:28:51 +01:00
Friedemann Kleint
fc972e44ef
CDB: Extract SymbolGroupContext class into Core library.
...
Split for testing/scripting purposes.
2010-02-04 13:20:37 +01:00
Friedemann Kleint
2fd8b2d7ff
Fix some code scanning issues.
...
QString: Use QChar where appropriate.
2010-02-01 12:43:56 +01:00
Oswald Buddenhagen
75b42f18d8
Merge remote branch 'origin/1.3'
...
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636
remove trailing whitespace
...
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
con
24d592d8fa
Merge remote branch 'origin/1.3'
...
Conflicts:
src/plugins/bineditor/bineditorplugin.cpp
src/plugins/coreplugin/editormanager/editormanager.cpp
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/watchhandler.cpp
2010-01-14 18:45:35 +01:00
Friedemann Kleint
55b4e6d383
Debugger/CDB: Increase limits on string size in watch data.
...
Introduce truncation in item view instead (full value visible in
ToolTip).
Reviewed-by: hjk
Task-number: QTCREATORBUG-305
2010-01-13 10:36:37 +01:00
Tobias Hunger
592e494d1a
Fix typos
...
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
hjk
9052bd279f
debugger: fix editor tooltips for new dumpers
2010-01-08 18:17:02 +01:00
hjk
976b7b9e30
debugger: second attempt to write out pointer names
2010-01-07 14:41:37 +01:00
hjk
cf010f764a
debugger: fix the last two commits
2010-01-06 18:01:19 +01:00
hjk
270defaf59
debugger: go back to explicitly named pointers
2010-01-06 16:38:10 +01:00
con
769c51504c
debugger: handle large quint64 values 'properly'
...
(cherry picked from commit 02e90fd71d )
Conflicts:
src/plugins/debugger/watchhandler.cpp
2010-01-06 15:57:10 +01:00
hjk
85b4b826ab
debugger: use '*' as name for all pointers, add pointee only for display purposes
2010-01-06 15:21:17 +01:00
hjk
e3712f9687
debugger: refactoring, use QByteArray instead of QString when appropriate
2010-01-05 18:13:24 +01:00
hjk
4db1b37177
make an unused for loop faster
2009-12-09 17:41:58 +01:00
hjk
02e90fd71d
debugger: handle large quint64 values 'properly'
2009-12-08 17:46:53 +01:00
hjk
1c94133b58
debugger: start working on infrastructure to allow selection of encoding of char
...
arrays
2009-12-08 17:46:53 +01:00
hjk
32d3db8200
debugger: special handling for char*
2009-12-07 12:07:10 +01:00
hjk
ecb0df0cb5
debugger: work on "watchers" for use with new dumpers
2009-12-04 17:08:35 +01:00
hjk
ef9db9cf79
debugger: make 'watch' item work with new dumpers
2009-12-04 13:22:59 +01:00
hjk
b0640b9a7a
debugger: fix crash when adding a watcher to a non-running "synchroneous" engine.
2009-12-04 13:22:59 +01:00
hjk
fdbecf93c0
debugger: remove some hard coded typenames for std container dumpers to "user land"
2009-12-02 14:12:12 +01:00
Oswald Buddenhagen
b0b5bde2e9
Merge remote branch 'origin/1.3'
...
Conflicts:
doc/qtcreator.qdoc
src/plugins/debugger/watchhandler.cpp
2009-11-27 20:06:01 +01:00
hjk
c425122afb
debugger: fix potential crash after f2392ffb
2009-11-26 14:59:57 +01:00
hjk
73101efc3c
debugger: second attempty to workaround the locals view issue
...
Adding items to an empty container did not result in a [+] in front of
the container in the locals view.
2009-11-26 14:59:57 +01:00
Friedemann Kleint
2b23ea2a8a
Debugger/CDB: Windows 64 integer handling.
...
Convert CDB unsigned integer values should they appear in hex,
make format flexible.
Use int64 for reformatting integers to be able to accommodate
64 bit values on Windows 64. Add some more integer types.
Do not save decimal type formats. Add menu option to clear
individual formatting. Do not use map[] to query the type formats
(inserting 0 everywhere as a side effect).
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2009-11-25 16:32:44 +01:00
hjk
f2392ffbc0
debugger: allow the user to hide the std:: and Qt's namespace
2009-11-25 13:46:33 +01:00
con
cf949a948c
Merge commit 'origin/1.3'
2009-11-24 16:22:17 +01:00
Friedemann Kleint
2c403df660
Debugger: Fix setting of integer formats per type.
...
Reviewed-by: hjk <qtc-committer@nokia.com >
2009-11-23 11:00:43 +01:00
hjk
be7d9bf92a
debugger: next attempt at telling the locals view that an item has children
...
without actually fetching them
2009-11-23 10:51:52 +01:00
hjk
13ad6ef6fe
Revert "debugger: force a call to canFetchMore() if an WatchItem gains children"
...
This reverts commit 4f94145f4b
2009-11-20 18:10:46 +01:00
hjk
4f94145f4b
debugger: force a call to canFetchMore() if an WatchItem gains children
2009-11-20 18:01:24 +01:00
Friedemann Kleint
f4943f3c2e
Debugger/various plugins: Fix memory leaks.
...
Reviewed-by: hjk <qtc-committer@nokia.com >
Reviewed-by: dt <qtc-committer@nokia.com >
2009-11-04 17:11:35 +01:00
hjk
f92635e34a
debugger: add a soft assert to catch cases where broken inames are reported
2009-10-28 15:40:32 +01:00
hjk
452c2cfbb4
debugger: silence debug output
2009-10-28 14:35:51 +01:00
hjk
a1da606803
debugger: better protection from infinite loops due to broken dumpers in
...
synchroneous mode
2009-10-28 11:50:58 +01:00
hjk
87b27a2fb2
debugger: disable warning that triggers too often
2009-10-27 17:38:42 +01:00
hjk
097d1e4e6c
debugger: call beginCycle also for new dumpers
2009-10-27 17:38:41 +01:00
hjk
902bb6baa0
debugger: small changes for synchroneous mode
2009-10-20 16:02:54 +02:00
Friedemann Kleint
25ee70bb24
Debugger: Use the code model to detect unitialized variables.
...
This should save debugger round trips and crashes in the debugging
helpers.
Add respective option to debugging helper option page, defaulting to
true.On this occasion, make CDB detect shadowed variables correctly
and display them as "<shadowed n>" as does the Gdb engine by
reversing the direction in which
CdbSymbolGroupContext::populateINameIndexMap works.
Rubber-stamped-by: hjk <qtc-committer@nokia.com >
2009-10-16 16:26:28 +02:00
hjk
73aa3e2164
debugger: make parsing of new dumper outpuit a bit more robust
2009-10-16 11:13:19 +02:00
hjk
fa71a4879c
debugger: work on autotests
2009-10-14 10:02:07 +02:00
Friedemann Kleint
14058c07ec
CDB: Bug fixing
...
- Turn off initial breakpoint when attaching (terminal) and
additionally ignore it before the first startup complete
- Refuse to step the artifical thread created when
interrupting
- If possible, switch to thread 0 when interupting (do not
use artificial thread)
- Ignore non-fatal exceptions in dumper calls (stray Startup-
complete-traps)
- Use right thread for dumper call loading
- Rename windows exception code enumeration
- Turn off modification off watch-data children by setType,
show empty lists correctly.
- Verbose warnings about inserting invalid watch data.
2009-10-13 14:16:50 +02:00
hjk
aff42fec75
debugger: re-enable "data drill down on mouse hover"
2009-10-01 18:01:53 +02:00
Friedemann Kleint
0f486fd532
CDB: Fix stepping and a crash on dumping expanded pointer items.
...
Simplify & Generalize stepping code, introduce stubs for reverse
debugging. When user switches to another thread than the
event-triggering one in a stopped inferior, explicitly tell
the engine to continue that one.
Improve fixDumperResult to fix missing types (out of scope items)
and call it from expandPointerDumpable.
2009-10-01 14:41:30 +02:00
hjk
46952c04eb
act on http://bugreports.qt.nokia.com/browse/QTCREATORBUG-123
2009-09-23 16:11:25 +02:00
Friedemann Kleint
caa164a4ab
CDB: Use GdbMi parser for everything.
...
..preparing recursive dumpers. Add recursive parser to
watchutils.cpp Use insertBulkData() within CDB, add sizeof()
information for some Qt containers in order to be able to
dump QList<QList<KnownType> > .
2009-09-21 14:55:39 +02:00