Commit Graph

1694 Commits

Author SHA1 Message Date
hjk
4f772ea0e0 debugger: show name of core file in output pane.
This is a partial fix for http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1574.
2010-06-07 16:41:28 +02:00
hjk
61e52d2e70 debugger: create actions for 'Stack Up' and 'Stack Down'
There is no shortcut associated with these actions, the user has to
set them up by himself.
2010-06-07 13:18:28 +02:00
hjk
4ff2881017 debugger: make watch and register items non-draggable 2010-06-07 10:41:15 +02:00
Erik Verbruggen
424b9724d6 Revert "Introduced a token cache for the C++ editor."
This reverts commit c2393df023.
2010-06-04 12:37:26 +02:00
Erik Verbruggen
c2393df023 Introduced a token cache for the C++ editor.
This should speed things up a bit, because before, the line was tokenized at
least 3 times.
2010-06-04 09:36:05 +02:00
hjk
5806009d29 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/debugger/debuggermanager.cpp
	src/plugins/texteditor/basetexteditor.cpp
2010-06-02 09:57:23 +02:00
hjk
661308c96e debugger: always switch to frame 0 before trying to leave frame 2010-06-01 16:53:32 +02:00
hjk
ea6ff5913a debugger: switch off reverse debugging tool button if not useful 2010-06-01 14:33:26 +02:00
hjk
8b806c4d8d debugger: make ctrl-click to navigate between input and output pane (much) faster 2010-06-01 12:36:28 +02:00
Thiago Macieira
e26cf0ab4d Fix compilation: #include <ctype.h> 2010-05-31 11:13:06 +02:00
hjk
381c54063c debugger: remove obsolete createBreakpointByFileAndLine() 2010-05-28 13:44:49 +02:00
Oswald Buddenhagen
123937fb2a Merge remote branch 'origin/2.0' 2010-05-28 12:45:41 +02:00
hjk
5afeaa720d debugger: more robust version string parsing
Fix for QTCREATORBUG-1490

Reviewed-By: Friedemann Kleint
2010-05-27 15:55:01 +02:00
hjk
5805788290 Merge remote branch 'origin/2.0'
Conflicts:
	src/plugins/projectexplorer/miniprojecttargetselector.cpp
	src/plugins/qmldesigner/designercore/model/modeltotextmerger.cpp
	src/plugins/qmldesigner/designercore/model/rewriteactioncompressor.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h
	tests/manual/gdbdebugger/simple/app.cpp
2010-05-27 11:11:53 +02:00
Friedemann Kleint
ef5b4b8ec5 Debugger: Introduce env QTC_DEBUGGER_PYTHON_VERBOSE
for verbose python error hunting.
Rubber-stamped-by: hjk
2010-05-26 14:35:06 +02:00
Friedemann Kleint
9e8219fda2 Debugger: Add menu option for saving debugger logs.
...as X11-clipboard is unreliable for long logs.
2010-05-25 15:25:33 +02:00
Friedemann Kleint
5364f5c152 VCS: Show message box on timeouts/Add SSH prompt.
- Use message boxes on timeouts.
- Add a configuration for a graphical SSH password prompt binary with
defaults
- Launch commands that require authentification with no terminal on UNIX
and environment variable SSH_ASKPASS set accordingly.
- First attempt at introduce a common function to synchronously run VCS
commands in base plugin with flags.
- Use standard execution log entries in all VCS plugins (outputwindow).
2010-05-21 17:46:00 +02:00
Robert Loehning
7707fc0c69 Debugger: Made menu captions more explicit 2010-05-20 21:45:18 +02:00
Robert Loehning
e2e495a116 Debugger: Enabled removing watchpoints using context menu 2010-05-20 20:25:54 +02:00
Robert Loehning
e40c28cc2f Debbuger: Checking menu action if watchpoint is set 2010-05-20 19:49:52 +02:00
Robert Loehning
466518808c Removed pointless lines 2010-05-20 19:49:51 +02:00
hjk
098dd35134 debugger: check matching Qt versions of compiled dumpers and debuggee 2010-05-20 16:49:48 +02:00
Friedemann Kleint
7f90f2942a Debugger: Add incremental API for modules.
And use it from CDB's module load/unload callbacks
instead of re-setting all modules. Some cleanup./Fixed
conflicts in 2.0
Acked-by: hjk
2010-05-20 08:25:43 +02:00
hjk
6f3228988d debugger: issue a warning if the user tries to debug a 'Release' build
This works only for locally started gcc compiled executables.
2010-05-19 18:02:25 +02:00
Friedemann Kleint
9af9c91f93 Debugger/WatchWindow: Add menu options to show pointed to addresses.
Change the WatchWindow handling to be based on quint64 addresses to
ensure proper function. Changed roles and added one role to the
watchmodel to obtain addresses and pointed-to addresses. Add some
fiddling to parse out addresses from debugger values.
Add menu options. Make sure only one watchpoint per address is added.
2010-05-19 17:34:47 +02:00
Robert Loehning
a25280fca0 Revert "debugger: Open memory editor at pointee address, not at pointer address"
This reverts commit 07b118197a.

Does not work when display format was changed.
2010-05-19 16:11:47 +02:00
hjk
07b118197a debugger: Open memory editor at pointee address, not at pointer address 2010-05-19 15:37:11 +02:00
hjk
5c4b0f8866 debugger: fix resetting type formats in Locals and Watchers 2010-05-19 15:16:30 +02:00
hjk
213a18db87 debugger: -thread-info does not exist on Mac 2010-05-19 15:16:30 +02:00
Friedemann Kleint
a31813da02 Debugger: Add incremental API for modules.
And use it from CDB's module load/unload callbacks
instead of re-setting all modules. Some cleanup.
Acked-by: hjk
2010-05-19 15:14:15 +02:00
hjk
148d232e88 debugger: implement return value visualization also for gdb/NoPython 2010-05-19 13:20:34 +02:00
hjk
c50dd85088 debugger: show return value of last function call in Locals and Watchers view
Works only with gdb/Python so far.
2010-05-19 12:00:56 +02:00
Friedemann Kleint
239a95710f Debugger: Windows compile fix/warnings 2010-05-19 08:51:46 +02:00
hjk
35bfbec797 debugger: refactor thread related class 2010-05-18 12:13:27 +02:00
hjk
d2e9658e13 debugger: use book case also in new actions 2010-05-18 12:13:27 +02:00
hjk
2f69bae63f debugger: gather more information on threads when easily available 2010-05-18 12:13:27 +02:00
con
38f6379f39 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/find/currentdocumentfind.cpp
	src/plugins/qt4projectmanager/qt-s60/s60createpackagestep.cpp
2010-05-17 17:40:40 +02:00
hjk
d8318a9502 debugger: refactor breakpoint handling
Use BreakpointData objects for communicaition instead of random
collection of some of their attributes.
2010-05-17 15:41:59 +02:00
Roberto Raggi
18490596f9 Renamed Document::findSymbolAt(). 2010-05-17 13:01:56 +02:00
Leena Miettinen
cf233161fa Doc - UI - Fix UI text capitalization to follow the KDE Style Guide rules.
Reviewed-by: ossi
2010-05-14 15:53:56 +02:00
Friedemann Kleint
709cb2946b Debugger[CDB]: Prompt to set up the Symbol server.
Prompt to set up the public symbol server unless
it is already configured or the environment
variable exists. Change the dialog to be
based on the PathChooser to be able to suggest
a non-existent directory.
Acked-by: Alessandro Portale <alessandro.portale@nokia.com>
2010-05-14 11:06:33 +02:00
ck
65124a6b5f Debugger: Set DISPLAY variable for GDB over SSH. 2010-05-14 10:01:27 +02:00
con
1fd12ab63b Merge remote branch 'origin/2.0'
Conflicts:
	src/plugins/cpptools/cppcodecompletion.cpp
2010-05-12 17:25:40 +02:00
Friedemann Kleint
a8e464abd9 Compile windows. 2010-05-12 16:15:19 +02:00
Robert Loehning
f88b9d5ab7 Avoid warning about failing connection. 2010-05-12 14:05:58 +02:00
hjk
e65e011706 debugger: let the user specify a working directory when starting a local
application
2010-05-12 11:48:00 +02:00
ck
fc357c31f5 Debugger: Fix LD_PRELOAD for GDB-over-SSH. 2010-05-10 16:35:41 +02:00
hjk
9190fce7de debugger: close tooltip window when cleaning up views 2010-05-10 15:39:41 +02:00
hjk
3795539e0a debugger: fix scheduling of deletion of data watch points 2010-05-10 15:39:41 +02:00
hjk
01aabbda82 debugger: rename some breakpoint related functions 2010-05-10 15:39:41 +02:00