Commit Graph

391 Commits

Author SHA1 Message Date
hjk
47fa65be6c debugger: some basic support for 'catch catch' and 'catch throw'
Hidden in the Breakpoints context menu.
2010-02-11 17:46:05 +01:00
hjk
a2c8394088 debugger: fix assignment to array members 2010-02-11 14:36:27 +01:00
hjk
f9b6832edf debugger: code cosmetics 2010-02-11 14:36:26 +01:00
hjk
904fc6c36d debugger: enable register view for core dumps 2010-02-11 10:52:26 +01:00
hjk
89a971207f debugger: fix initial display of register view in trk adapter 2010-02-11 10:52:25 +01:00
hjk
7766646b11 debugger: use gdb/cli for disassembler output. 2010-02-11 10:52:25 +01:00
hjk
9f7966d344 debugger: rename gdb{In,Out}putAvailable to showDebugger{In,Out}put 2010-02-11 10:52:24 +01:00
hjk
0bde89eee3 debugger: use the direct access withing trkadapter to list threads 2010-02-08 13:02:25 +01:00
hjk
27fa4c0440 debugger: distinguish between "step into" and "step over" in TrkAdapter. 2010-02-05 16:00:54 +01:00
hjk
4cba453a1e debugger: let python handle the listing of breakpoints
TODO: only transfer deltas
2010-02-05 15:23:44 +01:00
hjk
735b3489d4 debugger: fake hardware breakpoints work better with read-only memory 2010-02-05 15:23:44 +01:00
Friedemann Kleint
b6c7c597c2 Debugger: Introduce engine capability flags to enable actions correctly.
Reviewed-by: hjk
2010-02-05 10:23:55 +01:00
Thorbjørn Lindeijer
9b3dd396be Merge branch '1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
2010-02-04 15:09:05 +01:00
hjk
2ce1603ccf debugger: fix off-by-one error in mixed disassembler output 2010-02-04 15:02:04 +01:00
hjk
f27a8d88a6 debugger: fix recent copy-and-paste bug 2010-02-04 15:02:04 +01:00
hjk
f5f7942f7d debugger: add some time stamps to input pane, too 2010-02-04 15:02:03 +01:00
Thorbjørn Lindeijer
5268aaed0d Updated the Qt src/build path to be Qt version independent 2010-02-04 13:04:13 +01:00
hjk
e539f5bda3 debugger: take advantage of the fact that the trkadapter has often up-to-date
register data
2010-02-04 12:12:27 +01:00
hjk
b35a4096c6 debugger: start using TRK's 'multi instruction step' facility 2010-02-04 09:57:38 +01:00
Friedemann Kleint
74977e1290 Debugger: Fix some code scanning issues. 2010-02-03 17:22:44 +01:00
Friedemann Kleint
40f0d4d7c3 Debuggers: Enable Python-dumpers for Windows-built gdb.
Engine: Introduce convention of setting the PYTHONPATH
variable to <path-to-gdb>\python2.5 for WIndows.

Dumpers: Import 'curses' depending on platform, fix Syntax
for 2.5, catch file lock errors by os.remove.
Reviewed-by: hjk
2010-02-03 16:52:37 +01:00
hjk
18445dc9c6 debugger: make handling multiple core files a bit more convenient 2010-02-03 08:37:48 +01:00
hjk
7c823c6a26 debugger: prevent overwriting a correctly parsed file name for breakpoints. 2010-02-03 08:37:47 +01:00
hjk
945c211996 debugger: fall back to raw disassembly if mixed display fails due to
"unreadable" memory
2010-02-01 17:01:51 +01:00
hjk
ecd475c903 debugger: fall back to instructionwise stepping when debuginfo for frame is
missing
2010-02-01 17:01:51 +01:00
hjk
93876009e5 debugger: fallback for assembler listing in the presence of bad debug info 2010-02-01 17:01:51 +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
hjk
0653843d47 debugger: implement stub for qThreadExtraInfo, add some debugging aid 2010-01-29 15:48:17 +01:00
con
6a05f778af Fix setting breakpoints in running application.
It's a hack. More proper solution to come.

Done-with: hjk
2010-01-28 18:26:06 +01:00
hjk
068ff3a188 debugger: adjust gdb version string parsing to whatever openSUSE 11.2 managed
to create
2010-01-21 17:19:09 +01:00
hjk
1c5c6e8723 debugger: more python/non-python splitting 2010-01-21 17:19:09 +01:00
hjk
ffd48ebd4c debugger: remove injection loading.
Was used only on Windows, and we have ther python now.
2010-01-21 17:19:09 +01:00
hjk
cdae30ccdb debugger: start splitting off python and non-python specific bits 2010-01-21 17:19:08 +01:00
hjk
08c6899efa debugger: scrap one of the 6.4 workarounds when using 6.8 2010-01-15 11:38:25 +01:00
hjk
e2e29587a1 debugger: go to a defined state if we can't talk to the inferior anymore 2010-01-15 11:38:24 +01:00
hjk
dd118df7cb debugger: workaround failing 'info locals' on gdb 6.8-symbianelf 2010-01-15 11:38:20 +01:00
hjk
0cadbd85de debugger: show the result of failed dumper calls in the log 2010-01-15 11:32:41 +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
dt
1da2e9e8d8 Fix for wrong version in gdb substitute for qt path
Reviewed-By: thorbjorn
2010-01-14 17:26:18 +01:00
hjk
d5c9192c6b debugger: several small fixes for new gdb in trkadapter 2010-01-13 15:20:22 +01:00
hjk
19b9f1404f debugger: extra 'continue' for stops delivered by new symbian gdb 2010-01-13 15:20:21 +01:00
con
232db42069 Fixes: Not able to set breakpoints in running application.
Regression introduced by the gdb startup speedup.

Reviewed-by: hjk
2010-01-13 11:04:08 +01:00
con
7be7c52a69 Fix use of dumper library.
Not assigning a value to a variable will not put the variable in the
right state...
2010-01-12 18:41:21 +01:00
con
7199223a6e Merge remote branch 'origin/1.3'
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/cppeditor/cppeditor.cpp
	src/plugins/cpptools/CppTools.pluginspec
	src/plugins/cvs/CVS.pluginspec
	src/plugins/debugger/Debugger.pluginspec
	src/plugins/debugger/debuggeragents.cpp
	src/plugins/debugger/gdb/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/locator/Locator.pluginspec
	src/plugins/perforce/Perforce.pluginspec
	src/plugins/projectexplorer/ProjectExplorer.pluginspec
	src/plugins/qmleditor/QmlEditor.pluginspec
	src/plugins/qmleditor/idcollector.cpp
	src/plugins/qmleditor/idcollector.h
	src/plugins/qmleditor/parser/qmljsglobal_p.h
	src/plugins/qmleditor/qmlcodecompletion.cpp
	src/plugins/qmleditor/qmlcodeformatter.cpp
	src/plugins/qmleditor/qmlcodeformatter.h
	src/plugins/qmleditor/qmlexpressionundercursor.cpp
	src/plugins/qmleditor/qmllookupcontext.cpp
	src/plugins/qmleditor/qmlresolveexpression.cpp
	src/plugins/qmleditor/qmlsymbol.cpp
	src/plugins/qmleditor/qmlsymbol.h
	src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec
	src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
	src/plugins/qtscripteditor/QtScriptEditor.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
	src/plugins/welcome/Welcome.pluginspec
	src/shared/qml/parser/qmljsast.cpp
	src/shared/qml/parser/qmljsast_p.h
	src/shared/qml/parser/qmljsastfwd_p.h
	src/shared/qml/parser/qmljsastvisitor.cpp
	src/shared/qml/parser/qmljsastvisitor_p.h
	src/shared/qml/parser/qmljsengine_p.cpp
	src/shared/qml/parser/qmljsengine_p.h
	src/shared/qml/parser/qmljsgrammar.cpp
	src/shared/qml/parser/qmljsgrammar_p.h
	src/shared/qml/parser/qmljslexer.cpp
	src/shared/qml/parser/qmljslexer_p.h
	src/shared/qml/parser/qmljsmemorypool_p.h
	src/shared/qml/parser/qmljsnodepool_p.h
	src/shared/qml/parser/qmljsparser.cpp
	src/shared/qml/parser/qmljsparser_p.h
2010-01-12 18:02:04 +01:00
con
e28968bf39 Also remove tokens that we consider "lost" from the list.
Reviewed-by: hjk
2010-01-12 16:54:00 +01:00
con
cdf06a4b3e Remove debug output.
Reviewed-by: hjk
2010-01-12 16:23:05 +01:00
con
ff066d5e76 Fixes: Missing locals & watchers when debugging on Snow Leopard
Task-number: QTCREATORBUG-436
Reviewed-by: hjk
2010-01-12 15:22:02 +01:00
con
77b3bf4d7b debugger: fix timeout message.
(cherry picked from commit 9ee71d7da9)

Conflicts:

	src/plugins/debugger/gdb/gdbengine.cpp
2010-01-12 15:13:36 +01:00