Commit Graph

1225 Commits

Author SHA1 Message Date
Oswald Buddenhagen
c996238d70 fix error message 2009-12-04 13:55:45 +01:00
hjk
ef9db9cf79 debugger: make 'watch' item work with new dumpers 2009-12-04 13:22:59 +01:00
hjk
b0640b9a7a debugger: fix crash when adding a watcher to a non-running "synchroneous" engine. 2009-12-04 13:22:59 +01:00
Robert Loehning
de4fedbe50 Fixed opening of Qt version settings when debug helpers are not found.
Reviewed-by: Friedemann Kleint
2009-12-03 15:40:27 +01:00
hjk
fdbecf93c0 debugger: remove some hard coded typenames for std container dumpers to "user land" 2009-12-02 14:12:12 +01:00
hjk
51644c91a6 debugger: enable locals&watchers update after timeout kicked in 2009-12-01 17:11:09 +01:00
con
85b6ee648c Merge commit 'origin/1.3' 2009-11-30 18:23:13 +01:00
Friedemann Kleint
e87bd302da Debugger: Protect reloadRegisters against early calls.
Check for correct state (InferiorStopped).
2009-11-30 16:45:15 +01:00
Oswald Buddenhagen
9c66c06820 mi parser: don't construct dummy tuples, but parse lists directly 2009-11-30 15:55:11 +01:00
dt
a312206306 Move most of the BuildConfiguration specific functions
Note: I didn't fix all the connects and there are a few missing things.
This compiles, more work is coming.
2009-11-30 15:24:31 +01:00
Oswald Buddenhagen
b0b5bde2e9 Merge remote branch 'origin/1.3'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/debugger/watchhandler.cpp
2009-11-27 20:06:01 +01:00
Friedemann Kleint
0a3b9ed436 Compile Windows. 2009-11-27 16:20:06 +01:00
Friedemann Kleint
a8ac34c347 Options: Sort by category, id.
Separate category and trCategory and introduce sorting characters
to the categories. Same for id/name.
2009-11-27 16:12:12 +01:00
hjk
c425122afb debugger: fix potential crash after f2392ffb 2009-11-26 14:59:57 +01:00
hjk
73101efc3c debugger: second attempty to workaround the locals view issue
Adding items to an empty container did not result in a [+] in front of
the container in the locals view.
2009-11-26 14:59:57 +01:00
hjk
36db421fce debugger: make dumper exception passing configurable 2009-11-26 14:59:57 +01:00
Friedemann Kleint
dd651204c9 CDB: Fix disassembler for 64 bit addresses. 2009-11-26 08:51:43 +01:00
Friedemann Kleint
2b23ea2a8a Debugger/CDB: Windows 64 integer handling.
Convert CDB unsigned integer values should they appear in hex,
make format flexible.
Use int64 for reformatting integers to be able to accommodate
64 bit values on Windows 64. Add some more integer types.
Do not save decimal type formats. Add menu option to clear
individual formatting. Do not use map[] to query the type formats
(inserting 0 everywhere as a side effect).

Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-11-25 16:32:44 +01:00
hjk
f2392ffbc0 debugger: allow the user to hide the std:: and Qt's namespace 2009-11-25 13:46:33 +01:00
con
cf949a948c Merge commit 'origin/1.3' 2009-11-24 16:22:17 +01:00
Friedemann Kleint
65e11062bb Polish the settings dialog.
Add a title label to the pages. Use QGroupBoxes throughout.
Extend SavedAction to work with checkable QGroupBoxes. Polish UI files,
use common layout for VCS plugins. Performance: Apply only visited
settings pages. Add search keywords.

Task-number: QTCREATOR-26
2009-11-24 15:05:02 +01:00
Friedemann Kleint
7def179a98 CDB: Convert 64bit pointers correctly.
Adapt to the output format "0x0000000`0046535C".
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-11-23 11:01:49 +01:00
Friedemann Kleint
2c403df660 Debugger: Fix setting of integer formats per type.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-11-23 11:00:43 +01:00
hjk
be7d9bf92a debugger: next attempt at telling the locals view that an item has children
without actually fetching them
2009-11-23 10:51:52 +01:00
hjk
13ad6ef6fe Revert "debugger: force a call to canFetchMore() if an WatchItem gains children"
This reverts commit 4f94145f4b
2009-11-20 18:10:46 +01:00
hjk
4f94145f4b debugger: force a call to canFetchMore() if an WatchItem gains children 2009-11-20 18:01:24 +01:00
Oswald Buddenhagen
913f6161a1 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/cpptools/cppcodecompletion.cpp
	src/plugins/help/helpplugin.cpp
	src/plugins/projectexplorer/projectexplorer.cpp
2009-11-20 17:25:39 +01:00
Alessandro Portale
20b209858b Improved line wrapping of plugin license texts.
The paragraphs are now long lines that get wrapped by the text browser.

Reviewed-by: TrustMe

	modified:   src/plugins/bineditor/BinEditor.pluginspec
	modified:   src/plugins/bookmarks/Bookmarks.pluginspec
	modified:   src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec
	modified:   src/plugins/coreplugin/Core.pluginspec
	modified:   src/plugins/cpaster/CodePaster.pluginspec
	modified:   src/plugins/cppeditor/CppEditor.pluginspec
	modified:   src/plugins/cpptools/CppTools.pluginspec
	modified:   src/plugins/cvs/CVS.pluginspec
	modified:   src/plugins/debugger/Debugger.pluginspec
	modified:   src/plugins/designer/Designer.pluginspec
	modified:   src/plugins/fakevim/FakeVim.pluginspec
	modified:   src/plugins/find/Find.pluginspec
	modified:   src/plugins/genericprojectmanager/GenericProjectManager.pluginspec
	modified:   src/plugins/git/ScmGit.pluginspec
	modified:   src/plugins/helloworld/HelloWorld.pluginspec
	modified:   src/plugins/help/Help.pluginspec
	modified:   src/plugins/locator/Locator.pluginspec
	modified:   src/plugins/mercurial/Mercurial.pluginspec
	modified:   src/plugins/perforce/Perforce.pluginspec
	modified:   src/plugins/projectexplorer/ProjectExplorer.pluginspec
	modified:   src/plugins/qmleditor/QmlEditor.pluginspec
	modified:   src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec
	modified:   src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
	modified:   src/plugins/qtscripteditor/QtScriptEditor.pluginspec
	modified:   src/plugins/regexp/RegExp.pluginspec
	modified:   src/plugins/resourceeditor/ResourceEditor.pluginspec
	modified:   src/plugins/snippets/Snippets.pluginspec
	modified:   src/plugins/subversion/Subversion.pluginspec
	modified:   src/plugins/texteditor/TextEditor.pluginspec
	modified:   src/plugins/vcsbase/VCSBase.pluginspec
	modified:   src/plugins/welcome/Welcome.pluginspec
2009-11-20 14:32:42 +01:00
Daniel Molkentin
40518ac11c gdb: On Windows, also substitute the debugging path for non-sdk Qt.
Reviewed-By: hjk
2009-11-19 19:45:14 +01:00
dt
10a0647ddf Remove QSharedPointer<> for RunConfiguration 2009-11-19 16:35:18 +01:00
hjk
4461ec2ef5 debugger: prevent crash when trying to view memory if bin editor is
unavailable
2009-11-19 09:51:21 +01:00
con
c718095c28 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp

Reviewed-by: Oswald Buddenhagen
2009-11-16 11:35:47 +01:00
hjk
516af4b1b6 debugger: access preloaded dumpers also when stopped by a signal 2009-11-13 14:16:44 +01:00
hjk
4eea61c47f debugger: fix breakpoihnt deletion by using the context menu action 2009-11-13 10:55:50 +01:00
Friedemann Kleint
ffca9bb5cc Debugger: Do not use LD_PRELOAD on Mac.
Fails for system Qt on 10.6.

Reviewed-By: hjk <qtc-committer@nokia.com>
2009-11-12 16:49:12 +01:00
Oswald Buddenhagen
0939a7f77f don't track shared library events on gdb < 7, after all.
The problem is that the shlib events disturb bounded execution requests
and there is no way to recover from this - the debugger will effectively
turn "step over" into "continue". this is nicely explained in
http://vladimir_prus.blogspot.com/2007/12/debugger-stories-pending-breakpoints.html
2009-11-12 15:36:45 +01:00
hjk
79789d4feb debugger: let dumpers override reported inames 2009-11-12 09:25:41 +01:00
con
43bccb41ed Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/debuggermanager.h
	src/plugins/qmleditor/qmleditorplugin.cpp
	src/plugins/qt4projectmanager/qt4runconfiguration.cpp
2009-11-11 16:14:29 +01:00
Oswald Buddenhagen
4d45ad0003 always clear pending command queue before posting shutdown commands
this ensures that, among other things, we won't get into this scenario:
- process is running
- interrupt is requested by user
- termination is requested by user
- before interrupt takes effect, the process terminates
=> shutdown is called
=> exit is also queued, as there is already a queued kill
=> nothing happens, as there will never be a stop response

Reviewed-by: hjk
2009-11-11 12:41:06 +01:00
Oswald Buddenhagen
5bd5fa63bf be more lenient when matching the stops at _start
archer reports stops at tbreaks properly, so checking for an empty stop
reason is no particularly good idea. instead, we simply skip *all* stops
at the entry point, assuming the user will not really set a breakpoint
there anyway.

Reviewed-by: hjk
2009-11-11 11:42:12 +01:00
ck
50990ef906 Debugging helpers: Don't use LD_PRELOAD mechanism for Maemo.
The LD_PRELOAD approach does not work for Maemo, because the
"set environment" command seems to have no effect whatsoever.
2009-11-11 11:40:11 +01:00
Jarek Kobus
4e4adc865a Provide disambiguations for "unknown" string 2009-11-10 16:22:40 +01:00
Tobias Hunger
5fa7d54ea4 Quote CDB_PATH.
When setting CDB_PATH via the environment.

Reviewed-By: ossi
(cherry picked from commit e288c4c4e7)
2009-11-10 14:46:41 +01:00
Tobias Hunger
e288c4c4e7 Quote CDB_PATH.
When setting CDB_PATH via the environment.

Reviewed-By: ossi
2009-11-10 14:23:37 +01:00
Oswald Buddenhagen
cb4b139148 track shared library events even on gdb < 7
this is to update breakpoint, source and module lists automatically.

also remove the now pointless -break-list on every stop.

Reviewed-by: hjk
2009-11-10 13:02:34 +01:00
Oswald Buddenhagen
de9438df0c clear pending stream outputs after handling stop response
any output will most definitely belong to later issued commands, so not
clearing it will only cost cpu or even confuse the evaluation.

Reviewed-by: hjk
2009-11-10 13:02:33 +01:00
Oswald Buddenhagen
5976b1ba43 actively try to obtain PID of non-pthread inferiors with gdb < 7 on linux
Reviewed-by: hjk
2009-11-10 13:02:33 +01:00
Oswald Buddenhagen
23e06304f8 further cleanups in less expected shutdown paths
Reviewed-by: hjk
2009-11-10 13:02:33 +01:00
Friedemann Kleint
5acac101a6 Cdb: Fix step out.
Use debugger's 'gu' command instead of temporary breakpoint as a
workaround until it is properly supported by the
SetExecutionStatus() API.

Reviewed-by: hjk
Task-number: QTCREATORBUG-240
2009-11-10 10:40:24 +01:00
hjk
fa2a115aa3 debugger: use 'set substitute-path' 2009-11-09 16:25:54 +01:00