Commit Graph

72 Commits

Author SHA1 Message Date
hjk
4381b9d244 debugger: introduce a "NoEngine" option 2009-05-06 10:13:36 +02:00
hjk
b373242aca debugger: use current run configuration to read symbols for gdbserver 2009-05-05 17:50:35 +02:00
hjk
926039cd7b debugger: remove recently introduced macro "overloads" alltogether 2009-05-05 11:18:34 +02:00
hjk
3f1afb560c debugger: move macros implementation from gdbengine.h to gdbengine.cpp 2009-05-05 10:38:19 +02:00
Oswald Buddenhagen
69ace70236 the death of GdbCommandType & co.
instead of passing callback codes and dispatching them in a huge switch
statement, pass around member function pointers as real callbacks.
some codes which did not actually invoke a callback were completely
eliminated. hope this doesn't impair debugging. ;)
as a "side effect", command categorization by code is gone - there is a
proper flag field for that now.
as a real side effect, some suppressed assert failures might be back
now. fix them properly if they do ...
2009-05-05 10:31:06 +02:00
Oswald Buddenhagen
a799be539b encoding cleanup
added *lots* of missing QLatin1*(). to avoid making the code too
unreadable i added the macros _(), __() and _c().
also added local8Bit conversions for everything which might contain
file names.
2009-04-30 22:48:58 +02:00
Oswald Buddenhagen
78d09e7868 disable pwd querying code, as it is unused and broken. 2009-04-30 22:03:10 +02:00
Friedemann Kleint
72a183777e Initial work on dumpers for CDB.
Add dumper calls, parser etc. Catch crashes
in the dumper functions.
2009-04-29 14:15:09 +02:00
Friedemann Kleint
3695ee3646 Start on dumper support for CDB, bug fixes.
Make command execution output shown, use Wide version
of Debug Callbacks and output, provide bases classes
for other output and event handlers, move common
dumper functionality into debugger manager.
2009-04-20 16:40:50 +02:00
con
412a4b027d Merge commit 'origin/1.1'
Conflicts:
	src/plugins/debugger/debuggeractions.cpp
	src/plugins/debugger/gdboptionpage.ui
2009-04-17 15:17:31 +02:00
hjk
39bf47f7ae debugger: fix message on debugger exit 2009-04-16 15:06:31 +02:00
Friedemann Kleint
4c2f5d1eaf Make the "Show symbols" option of the module window work on Windows.
Introduce API to debug engines and debugger manager to do this.
Reviewed-by: hjk <qtc-commiter@nokia.com>
2009-04-15 12:01:58 +02:00
con
a0fa383235 Show a useful dialog when debugger can't find debugging helper.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-04-08 17:26:19 +02:00
hjk
bb3e6b720c debugger: rename data dumpers into "debugging helpers" 2009-04-07 16:39:47 +02:00
hjk
9318459b47 debugger: allow short stack to be expanded by a context menu item or
double click on the "<...>" line
2009-04-07 10:41:01 +02:00
hjk
bcd279a198 debugger: make maximal number of stack entries configurable 2009-04-02 16:26:33 +02:00
hjk
b968932056 debugger: work on action handling 2009-03-26 17:28:14 +01:00
hjk
eb3870875f debugger: use new action scheme for number base selections 2009-03-24 16:39:30 +01:00
hjk
380cb40f27 debugger: work on optional prebuild dumper library 2009-03-23 14:34:01 +01:00
hjk
da1492cf28 debugger: start action handling refactoring 2009-03-18 09:03:47 +01:00
hjk
cc89dcc75b debugger: make "Use Dumpers" a pool action 2009-03-17 17:06:39 +01:00
hjk
f73a4d5fd8 Fixes: debugger: try accessing compiled-in dumpers when attaching to an
external application
2009-03-16 13:16:17 +01:00
hjk
bd96ebf749 Fixes: debugger: provide gdb macro based dumpers for QString and QStringList
Details:  That works with a core file, too. The "real" dumpers require a
live process as they use gdb's "call"
2009-03-03 17:27:25 +01:00
hjk
07d51d0c14 Fixes: debugger: worlk on core file loading 2009-03-02 15:14:12 +01:00
Oswald Buddenhagen
bbaf7893cc "debug in terminal" feature.
includes complete refactoring of ConsoleProcess.
2009-02-27 18:04:36 +01:00
Oswald Buddenhagen
788f84f792 Merge commit '80e89b23a329453e8dda0f3c48053b8fbe4968c1' 2009-02-25 15:41:36 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Oswald Buddenhagen
e00b90ccd5 rewrite gdb output receiver
fixes chopping up of very long responses which quickly follow other
responses.

the line segmentation is done in readGdbStandardOutput() now.
handleResponse() is not called through a queued slot any more, as the
output receiver is already synchronized to the event loop.
2009-02-24 20:41:04 +01:00
Oswald Buddenhagen
581cf86b09 make attach & detach work
Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-24 15:09:27 +01:00
Oswald Buddenhagen
3fca94780a Merge branch '1.0.0' into master
Conflicts:
	src/plugins/debugger/gdbengine.cpp
2009-02-23 17:03:25 +01:00
hjk
5fbd588a98 Fixes: debugger: fix Mac OS 10.4 2009-02-23 16:06:23 +01:00
Oswald Buddenhagen
ed3453e8ea make attach & detach work 2009-02-18 15:39:22 +01:00
hjk
84e5a57bab Fixes: add a view to see current source file mapping 2009-02-17 17:44:00 +01:00
hjk
b4a7921832 Fixes: debugger: work on process logic
Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:42:08 +01:00
hjk
2cb3536a3c Fixes: debugger: work on shutdown 2009-02-17 17:41:14 +01:00
hjk
24479744eb Fixes: debugger: try to extact pid from 'info threads' on windows 2009-02-17 17:41:03 +01:00
hjk
140f34c529 Fixes: debugger: try fixing startup break on make 2009-02-17 17:40:58 +01:00
hjk
ce652e8ffc Fixes: debugger: load modules list early
Details:  feels better
2009-02-17 17:40:35 +01:00
hjk
0565b3a7fe Fixes: debugger: start symbol is WinMainCRTStartup, not _start
sometimes...

Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:40:13 +01:00
hjk
3aa08efb75 Fixes: debugger: work on breakpoints in plugins 2009-02-17 17:39:29 +01:00
hjk
04626a3e2a Fixes: debugger: work on plugin breakpoints
Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:39:20 +01:00
hjk
ab31640462 Fixes: debugger: work on more fine-grained breakpoints-in-plugins
setting
2009-02-17 17:38:52 +01:00
hjk
7ebfeb037b Fixes: debugger: introduce early break after application
initialization
2009-02-17 17:38:44 +01:00
hjk
d0e991dfa9 Fixes: add a view to see current source file mapping 2009-02-17 14:08:49 +01:00
hjk
79a428f480 Fixes: debugger: work on process logic 2009-02-16 18:28:15 +01:00
hjk
e4a9d85c00 Fixes: debugger: work on shutdown 2009-02-16 13:29:57 +01:00
hjk
373a05af82 Fixes: debugger: try to extact pid from 'info threads' on windows 2009-02-13 17:11:34 +01:00
hjk
7c5fa0f06b Fixes: debugger: try fixing startup break on make 2009-02-13 16:55:24 +01:00
hjk
b2387fdda8 Fixes: debugger: load modules list early
Details:  feels better
2009-02-13 13:50:50 +01:00
hjk
7ad54e6313 Fixes: debugger: start symbol is WinMainCRTStartup, not _start
sometimes...
2009-02-13 12:34:10 +01:00