Commit Graph

220 Commits

Author SHA1 Message Date
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
Oswald Buddenhagen
6d5eeb7afb add missing tr()s, etc., add some //: comments 2009-04-20 16:51:10 +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
hjk
01284f2160 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.
2009-04-17 15:35:28 +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
Friedemann Kleint
7d41e04884 Split apart debugger options pages, allow specifying a path to CDB.
Modify engine creation funcs to populate a list of option pages
to be able to handle engine enabling independently of the
actual engine creation.
2009-04-17 09:03:32 +02:00
hjk
39bf47f7ae debugger: fix message on debugger exit 2009-04-16 15:06:31 +02:00
hjk
e2ef47bcff debugger: prevent endless loop when contructor breakpoints are located
in inaccessible files
2009-04-16 14:42:45 +02:00
hjk
40700c9dd7 debugger: add an autotest for the regexp used for paring 'info break' output 2009-04-16 12:52:29 +02:00
Thorbjørn Lindeijer
bc89f5dc4f Merge branch '1.1'
Conflicts:
	src/plugins/debugger/debuggeractions.cpp

Reviewed-by: hjk
2009-04-16 11:32:05 +02:00
hjk
5cb0a3cb72 debugger: put the address of the loaded helpers into the debugger log 2009-04-15 16:48:46 +02:00
hjk
e61fa399ed debugger: also parse PID if the program starts without breakpoints 2009-04-15 15:41:21 +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
hjk
1c9714305e debugger: don't kill gdb the hard way if it is still in a known state 2009-04-14 12:59:43 +02:00
hjk
163705b879 debugger: less debug output in cases we know what's missing 2009-04-14 12:20:23 +02:00
hjk
73a2dc6f84 debugger: make some noise if we still can't set pending breakpoints on Linux 2009-04-14 12:20:23 +02:00
hjk
84a43310a7 debugger: use break-insert -f to insert pending breakpoints 2009-04-14 12:20:22 +02:00
Friedemann Kleint
6d4d19dfa8 Handle various CDB output windows.
Add modules, threads and register view. Refactor register format code.
2009-04-09 16:51:13 +02:00
hjk
353025f37f debugger: potential fix for cases where the std:: namespace is not
reported properly
2009-04-09 13:49:22 +02:00
hjk
971c1999d2 debugger: provide an entry saying <no information> if an object has no
children (or no debug information available)
2009-04-09 11:37:55 +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
e7e0fe7475 debugger: make QObject connection dumper work again 2009-04-08 17:05:59 +02:00
hjk
48dcc26d36 fakevim: work on autotests 2009-04-08 16:05:49 +02:00
hjk
3e38a0598b debugger: make user visible strings translatable 2009-04-08 16:05:49 +02:00
hjk
cbcf5e4871 debugger: fix debugging helpers for QHash<QString, ...> 2009-04-07 17:36:29 +02:00
hjk
bb3e6b720c debugger: rename data dumpers into "debugging helpers" 2009-04-07 16:39:47 +02:00
hjk
f88e15bf6b debugger: fix potential endless loop 2009-04-07 14:15:02 +02:00
hjk
de8922839b debugger: work on test suite 2009-04-07 10:41:01 +02:00
hjk
a7e677421d debugger: work on autotests
Qt creator starts up now, no debugging yet.
2009-04-07 10:41:01 +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
f442fd6e55 debugger: do not duplicate the line when pressing Ctrl-Return in the
left gdb pane.

This is more convienient when repeating a series of commands.
2009-04-03 15:48:34 +02:00
hjk
bcd279a198 debugger: make maximal number of stack entries configurable 2009-04-02 16:26:33 +02:00
hjk
81562dce7a debugger: compile fix
include <ctype.h> is needed on some systems
2009-04-02 11:41:36 +02:00
hjk
47995286b5 debugger: show non-ASCII in QString, too 2009-04-02 10:58:52 +02:00
hjk
c1e0a788ff debugger: don't dead-lock when switching sessions while debugging 2009-04-01 16:50:21 +02:00
hjk
18061710e7 debugger: handle archer's thread creation messages 2009-04-01 16:50:21 +02:00
hjk
e4bd6c55c4 debugger: don't consider archer's "library-loaded" as a reason for a
warning
2009-04-01 16:50:21 +02:00
hjk
3de773a551 debugger: rework dumper settings page 2009-03-27 17:21:25 +01:00