hjk
5bcc81a61e
debugger: introduce an explicit detach action
2009-05-07 15:20:44 +02:00
hjk
d42a7e407e
debugger: small fixes for the gdb macro based QString and QStringList dumpers
2009-05-07 14:53:53 +02:00
Oswald Buddenhagen
5d8bd5e031
generalize auto-continue mechanism
2009-05-07 12:30:56 +02:00
Oswald Buddenhagen
12f9c7891d
remove message which is immediately flushed out anyway
2009-05-07 12:26:25 +02:00
Oswald Buddenhagen
974388c131
less confusing
2009-05-07 12:26:25 +02:00
Oswald Buddenhagen
cdc1b913f9
whitespace cleanup in debug statements :D
2009-05-07 12:26:25 +02:00
Oswald Buddenhagen
115c1f1b67
add missing _() to currently commented out debugMessage() calls
2009-05-07 12:22:36 +02:00
hjk
6396d00073
debugger: move gdb macros to a resource file
2009-05-07 12:17:23 +02:00
hjk
5ff737b0df
debugger: make gdb macro based debugging helpers (QString and QStringList)
...
also available for remote debugging.
2009-05-07 11:34:01 +02:00
hjk
cb7bc38840
debugger: don't try to show a reason for stopping if we don't know one.
2009-05-07 10:39:49 +02:00
hjk
cb33a4405a
debugger: rename execCommand to postCommand (in line with QApplication::postEvent)
2009-05-07 09:51:21 +02:00
hjk
f87df9e72e
debugger: handle error when remote server does not respond
2009-05-07 09:35:11 +02:00
Oswald Buddenhagen
905f3d6c30
use explicit flag to request token substitution in gdb command instead
...
of searching for something which looks like one.
2009-05-06 20:25:20 +02:00
hjk
3d84da2b4d
debugger: initial work to start a remote gdbserver
2009-05-06 16:12:22 +02:00
Friedemann Kleint
e0de01190f
Started Console process handling for CDB.
...
Introduced "Suspend" mode for the process stub and corresponding
mode enumeration in console process (Windows).
2009-05-06 14:26:20 +02:00
hjk
9ae53e49ca
debugger: rename 'AttachRemote' to 'StartRemote'
2009-05-06 13:27:11 +02:00
hjk
b5df077946
debugger: use -exec-interrupt to interrupt inferiors in gdbserver
2009-05-06 11:38:24 +02:00
hjk
67d327c7cc
debugger: make stack reload engine-agnostic
2009-05-06 10:21:50 +02:00
hjk
62f40474a6
debugger: work on gdbserver based remote debugging
...
Works only with Archer, possibly gdb head. It attaches now, sets breakpoints,
steps etc but cannot be stopped when running.
2009-05-06 09:45:31 +02:00
Oswald Buddenhagen
192c0e7423
document dumper output parsing hack
2009-05-05 21:00:24 +02:00
Oswald Buddenhagen
b590b6adc1
fix (rather theoretical) off-by-one
2009-05-05 21:00:24 +02:00
Oswald Buddenhagen
57a93374cd
add some C escaping to relevant MI commands
2009-05-05 21:00:24 +02:00
hjk
b373242aca
debugger: use current run configuration to read symbols for gdbserver
2009-05-05 17:50:35 +02:00
Oswald Buddenhagen
24c8b0a23b
whoops ... don't multiply debugger output in the display pane
2009-05-05 11:44:29 +02:00
hjk
926039cd7b
debugger: remove recently introduced macro "overloads" alltogether
2009-05-05 11:18:34 +02:00
Friedemann Kleint
d071d2af36
Compile on Windows
2009-05-05 11:02:20 +02:00
hjk
3f1afb560c
debugger: move macros implementation from gdbengine.h to gdbengine.cpp
2009-05-05 10:38:19 +02:00
Oswald Buddenhagen
04f6b3d807
fix encoding of manually submitted gdb commands
...
these can potentially contain file names ...
2009-05-05 10:31:06 +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
58c88eea82
don't construct cookie object unnecessarily
2009-05-05 10:31:06 +02:00
Oswald Buddenhagen
4917691e79
micro-optimization
2009-05-05 10:31:06 +02:00
Oswald Buddenhagen
6823cecba5
don't use macros for the Latin1* magic
...
use typedefs and an inline function instead. that's namespace-safe and
does not produce unhelpful messages when closing parens are missing.
2009-05-05 10:31:06 +02:00
Oswald Buddenhagen
5ac81459fa
nicer
2009-05-05 10:31:06 +02:00
hjk
b2598d0030
debugger: initial work on remote debugging
2009-05-04 14:48:06 +02:00
con
9adb6855c3
Compile on Mac.
2009-05-04 09:14:59 +02:00
Friedemann Kleint
e0de78f04d
Compile on Windows.
2009-05-04 08:19:56 +02:00
Oswald Buddenhagen
9937ef8ea2
disable unused jump-to-line handler
2009-04-30 22:49:01 +02:00
Oswald Buddenhagen
f6bf2e9745
simplify conditions
2009-04-30 22:49:01 +02:00
Oswald Buddenhagen
3e01e57345
translatability improvements
2009-04-30 22:49:01 +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
hjk
14321e675d
debugger: add dumper for QWeakPointer
2009-04-29 17:48:04 +02:00
Friedemann Kleint
1c56388945
Make dumpers output size information.
2009-04-29 16:52:14 +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
hjk
8f60a84dc0
debugger: create some noise in the status bar when libraries are loaded
...
and unloaded.
2009-04-29 10:33:37 +02:00
hjk
d37a2d3aad
debugger: introduce enabling/disabling of breakpoints
2009-04-28 15:09:23 +02:00
Friedemann Kleint
52915776cd
Make CDB load custom dumpers.
...
Load in a 'well-defined' (temporary) breakpoint
at main().
2009-04-22 17:28:26 +02:00
con
23d0cb3180
Merge commit 'origin/1.1'
...
Conflicts:
doc/qtcreator.qdoc
doc/qtcreator.qdocconf
src/app/Info.plist
src/plugins/bineditor/BinEditor.pluginspec
src/plugins/bookmarks/Bookmarks.pluginspec
src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec
src/plugins/coreplugin/Core.pluginspec
src/plugins/coreplugin/coreconstants.h
src/plugins/cpaster/CodePaster.pluginspec
src/plugins/cppeditor/CppEditor.pluginspec
src/plugins/cpptools/CppTools.pluginspec
src/plugins/debugger/Debugger.pluginspec
src/plugins/debugger/gdbengine.cpp
src/plugins/designer/Designer.pluginspec
src/plugins/fakevim/FakeVim.pluginspec
src/plugins/find/Find.pluginspec
src/plugins/genericprojectmanager/GenericProjectManager.pluginspec
src/plugins/git/ScmGit.pluginspec
src/plugins/helloworld/HelloWorld.pluginspec
src/plugins/help/Help.pluginspec
src/plugins/perforce/Perforce.pluginspec
src/plugins/projectexplorer/ProjectExplorer.pluginspec
src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
src/plugins/qtscripteditor/QtScriptEditor.pluginspec
src/plugins/quickopen/QuickOpen.pluginspec
src/plugins/regexp/RegExp.pluginspec
src/plugins/resourceeditor/ResourceEditor.pluginspec
src/plugins/snippets/Snippets.pluginspec
src/plugins/subversion/Subversion.pluginspec
src/plugins/texteditor/TextEditor.pluginspec
src/plugins/vcsbase/VCSBase.pluginspec
2009-04-21 17:50:31 +02:00
con
35218bbe20
Add missing type information into gdb calls.
...
The missing type information lead to non-relocatable debugging helpers
on the Mac.
Reviewed-by: Oswald Buddenhagen
2009-04-21 16:13:13 +02:00
hjk
e0f7b845aa
debugger: use & in "p (char*)&qDumpOutBuffer". This improves the
...
situation in release builds a bit as we get at least a list of
(afterwards failing) dumpers.
(cherry picked from commit 01284f2160 )
2009-04-21 16:05:51 +02:00