hjk
b96b2a2b3a
debugger: add some possible explanation for the need to ask for stacktraces twice
2009-09-16 14:12:40 +02:00
hjk
61eadde63f
trk: work around stack trace problems
...
Asking gdb twice seems to work.
2009-09-16 11:10:59 +02:00
hjk
91e60257cd
debugger: special handling for Symbian TInt and TBool.
...
We know they don't have nested contents
2009-09-16 11:10:59 +02:00
hjk
7cfac4da3f
debugger: work around listing of short stacks for old gdbs (apple + symbian)
2009-09-15 16:02:26 +02:00
hjk
55bcce4684
debugger: prevent gdb from asking too many question for which we don't have answers
...
So far TRK does not show values for fp registers.
2009-09-15 15:36:32 +02:00
hjk
22904c5c89
debugger: improve setting of initial breakpoints in the trk case
2009-09-15 15:33:52 +02:00
con
1703c8c18b
Gdb engine couldn't start executable with space in it.
...
Reviewed-by: hjk
2009-09-15 15:25:54 +02:00
hjk
1be85e1af5
debugger: remove unneeded code, reformat
2009-09-15 12:16:45 +02:00
hjk
e3f47cbf94
debugger: fix recent regression in startup logic
2009-09-15 12:16:21 +02:00
hjk
d9cf3a8714
debugger: more trk/gdbengine refactoring
2009-09-15 11:39:54 +02:00
hjk
40d54a84dc
debugger: work on trk integration
2009-09-14 09:46:50 +02:00
hjk
491a747ebb
debugger: refactoring
...
rename GdbProcessBase into AbstractGdbAdapter
rename SymbianAdapter into TrkGdbAdapter
rename GdbProcess into PlainGdbAdapter
2009-09-11 15:54:01 +02:00
hjk
5077794f54
debugger: merge symbianengine into gdbengine
2009-09-11 15:54:01 +02:00
hjk
8213e5bda7
debugger: work on trk.
...
Something's visible in Locals&Watchers now!
2009-09-11 13:05:37 +02:00
hjk
17f9204bba
debugger: refactoring in the gdbengine
2009-09-11 12:31:07 +02:00
hjk
6a9886576f
debugger: small refactoring in the gdbengine startup
2009-09-11 09:51:33 +02:00
hjk
648ceaed18
debugger: work on trk integration
2009-09-10 16:30:04 +02:00
hjk
058b55adc5
debugger: work on trk integration
2009-09-10 13:14:51 +02:00
hjk
1614d6b6b8
debugger: small refactoring of the access to the gdb process in the gdbengine
...
That's the first step to make the gdb/trk Adapter work with the otherwise
unmodified gdb engine. GdbProcessBase is inherited by GdbProcess and the
gdb/trk Adapter. In the GdbProcess case it's just a wrapper around a QProcess
running gdb, in the Adapter case it's the interface to the gdb process in the
whole rfomm/gdb/gdbserver combo.
2009-09-09 12:41:26 +02:00
hjk
452f108ac7
debugger: fixes and improvements related to the Locals display
...
Split the concepts 'enabled' and 'editable' in the dumper output
Disable "<not in scope>" entries, also fix their type.
Fix glitch in type beautification for display
Find reason for failing bulk updates.
2009-08-31 16:05:55 +02:00
hjk
7cd8ba8af4
debugger: disable bulk updates
2009-08-28 17:32:04 +02:00
hjk
27382f753c
debuger: fix insertion of nested WatchData
2009-08-28 15:56:58 +02:00
hjk
75ade29466
debugger: allow dumpers to return children in more than one nesting level
2009-08-28 14:34:56 +02:00
hjk
9a5908bf8c
debugger: small improvements to dumpers
...
Add a dumper for QStack. Also don't crash when accessing an uninitialized
pointer when the pointer looks bad to begin with.
2009-08-28 10:42:55 +02:00
hjk
9af1a0a793
debugger: partial revert of 894febba to fix QStringList display
...
There was a case where "childtype" had to be used instead of "type".
2009-08-25 17:36:31 +02:00
con
11e65c1bbd
Threads are supported on Mac.
...
Reviewed-by: hjk
2009-08-24 14:15:38 +02:00
hjk
698b5ff253
debugger: avoid endless loop created by dumpers that crash before outputting
...
the child list.
2009-08-21 08:13:54 +02:00
hjk
bfc49c0e38
remove stringbuilder autotests
...
It was merged to Qt master a while ago.
2009-08-20 09:32:11 +02:00
hjk
f8300260ea
debugger: do not show a dialog for SIGTRAP as this happens too often
...
when stopping debugging.
2009-08-18 16:47:02 +02:00
hjk
7ab3981b6b
debugger: fix wrong access to the disassembler agent in the non-mixed case
2009-08-18 16:47:02 +02:00
hjk
39e1113707
debugger: add a simple syntax highlighter for disassembler output
2009-08-18 16:47:01 +02:00
hjk
1e7cee620b
debugger: make register contents editable (gdb only for now)
2009-08-18 08:37:53 +02:00
hjk
432ad0bfbc
debugger: register view and disassembler window cosmetics
2009-08-17 14:24:33 +02:00
hjk
9febb0bcb8
debugger: remove old disassembler view and handler
...
It is replaced by a real editor in e82d6c7b0 .
2009-08-17 13:34:15 +02:00
hjk
e82d6c7b05
debugger: create a disassembler view as main editor
...
"Stepping instruction wise" and "display disassembler" mode is now toggled by a
single action. This also allows to re-use F10 and F11 as keyboard shortcut.
Missing: caching of disassembler output, removal of old disassembler view.
2009-08-17 13:18:54 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
hjk
32e839c2a2
debugger: make the message box informing of received signals non-blocking.
2009-08-13 17:39:17 +02:00
hjk
abdc85f070
debugger: register view cosmetics
...
Show the current number base in the view.
2009-08-13 16:16:19 +02:00
hjk
6fd0433cd6
debugger: pop up a window when the application receives a signal like SIGSEGV
...
Just mentioning it in the status bar is often not enough to take notice.
2009-08-13 15:01:57 +02:00
hjk
0a560b10ab
debugger: work around a bug in gdb/MI in gdb 6.8/Ubuntu
...
When trying to debug qmake or another bootstrapped application loading the
dumpers failed as they are binarily incompatible. So failing is expected and
fine. However, gdb 6.8-debian produces in this case _two_ responses for
'-exec-continue produces' ('^running' and '^error,msg="Cannot find new threads:
generic error"') which is impossible according to the MI docs. In theory...
2009-08-13 09:57:50 +02:00
hjk
89ffffc183
debugger: use the bineditor to show memory dumps
2009-08-12 14:49:15 +02:00
Friedemann Kleint
894febbadf
Debugger: Make use of the "displayedtype" attribute.
...
Fix "displayedtype" in CDB, display it elsewhere.
Log debugger settings in DebuggerManager startup.
Acked-by: hjk <qtc-committer@nokia.com >
2009-08-12 11:21:44 +02:00
hjk
97afa6f7b0
debugger: move code around
2009-07-23 17:52:16 +02:00
hjk
b2051be94d
debugger: handle execRun() error result
2009-07-21 17:14:27 +02:00
hjk
7af43dd95a
dbugger: switch back to 'not running' when executable could not be started
2009-07-15 17:55:14 +02:00
dt
e7de23ea0a
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-07-15 17:44:16 +02:00
dt
54bbcc4a7c
Mention possible locations of the debugging helper in the error dialog
...
Requires a lot of trivial forwarding.
2009-07-15 17:41:45 +02:00
Friedemann Kleint
e917eeacb9
Debugger: Alert on stop in the debugger manager.
2009-07-15 16:50:49 +02:00
Alessandro Portale
d3f9757916
Removing some unused semicolons after Q_UNUSED
...
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
hjk
25716914a5
debugger: insert all children of WatchData as a single block
2009-07-13 12:31:39 +02:00