Commit Graph

290 Commits

Author SHA1 Message Date
Tobias Hunger
5d5f647f3d Fix preprocessor directives
* The standard says all preprocessor directives have to start
   at column 0.
2010-06-10 13:28:14 +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
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
ea6ff5913a debugger: switch off reverse debugging tool button if not useful 2010-06-01 14:33:26 +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
hjk
35bfbec797 debugger: refactor thread related class 2010-05-18 12:13:27 +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
hjk
e65e011706 debugger: let the user specify a working directory when starting a local
application
2010-05-12 11:48:00 +02:00
hjk
9190fce7de debugger: close tooltip window when cleaning up views 2010-05-10 15:39:41 +02:00
hjk
6c0b947ec1 debugger: first shot a implementing data watchpoints 2010-05-07 15:17:11 +02:00
ck
369acdef85 Compile fix for Windows.
Written-by: Robert Loehning
2010-05-06 09:25:29 +02:00
ck
ef7c5fae60 Debugger: Support running GDB over SSH.
Reviewed-by: hjk
2010-05-05 12:51:21 +02:00
hjk
a945e96377 Revive TCF agent
This mainly reverts commit ba47987e67.

Conflicts:

	src/plugins/debugger/debugger.pro
	src/plugins/debugger/debuggermanager.cpp
	src/plugins/debugger/debuggermanager.h
	src/plugins/debugger/debuggerplugin.cpp
	src/plugins/debugger/debuggerplugin.h
2010-05-05 12:41:52 +02:00
hjk
15a595b429 debugger: refactor module/symbol view 2010-05-04 18:00:10 +02:00
hjk
4c27ee1c65 debugger: remove unneeded variable 2010-04-29 16:11:47 +02:00
con
ca14299790 Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
con
00dac575a3 Don't delete members in DebuggerPlugin::shutdown.
Do it in the destructor instead.

Reviewed-by: hjk
2010-04-28 17:31:51 +02:00
hjk
34db4fd335 debugger: some engine renamings 2010-04-27 15:33:22 +02:00
hjk
400eecf4ef debugger: some work on python 2010-04-27 15:33:17 +02:00
Jens Bache-Wiig
d03367df61 Optimize default header section size for the stack view
Both line and level should be smaller than the other headers
in the default layout since they only show numbers here.

Reviewed-by: danimo
2010-04-26 20:25:14 +02:00
hjk
2a4db8a706 debugger: make script debugger work again 2010-04-23 12:08:00 +02:00
hjk
3fe1617ac8 debugger: make watchers part of the Locals and Watchers view resizable
Still too hidden. Probably the 'Always adjust' settings should be persistent.
2010-04-23 09:58:31 +02:00
Erik Verbruggen
e3bceff3ee Separated child-process stdout/stderr, and seperated "our" output/errors.
So now the "Applciation Output" can distinguish between these four, and
handle them appropriately.
2010-04-19 14:21:48 +02:00
Friedemann Kleint
87e0e9253f Debugger: Disable "Operate by instruction" when running.
Preventing an the stack handler asserting on invalid
index when requesting disassembling.
Task-number: QTCREATORBUG-1173
Acked-by: hjk
2010-04-16 17:01:10 +02:00
Lasse Holmstedt
990ec1be91 Added debugging mode for simultaneous QML and C++ debugging
It's not yet possible to attach to an external app running a qml
debugging server, because the server is only started on startup if an
env variable is set. Changing this requires action from Brisbane, but
even the current solution works for C++ apps with QML in them.

Task-number: BAUHAUS-585
Reviewed-by: dt
2010-04-15 15:08:32 +02:00
dt
3de0668894 Linux icc parser
Reviewed-By: hunger
2010-04-12 15:05:11 +02:00
hjk
a795c69325 debugger: more breakpoint refactoring 2010-04-12 12:02:16 +02:00
hjk
239e4ca507 debugger: move toggleBreakpoint() from DebuggerManager to DebuggerPlugin 2010-04-09 15:58:17 +02:00
hjk
d4aed1ae24 debugger: refactoring of breakpoint creation 2010-04-09 15:32:33 +02:00
hjk
d8cc842d49 debugger: let 'Reset Debugger' apply a bit more force 2010-04-09 15:32:33 +02:00
dt
9ddd7a59d7 Revert "Progress so far"
This reverts commit b1a121c54f.

Accidentally pushed the linux icc parser before it was ready.

Conflicts:

	src/plugins/qt4projectmanager/qtversionmanager.cpp
2010-04-08 10:49:20 +02:00
dt
b1a121c54f Progress so far 2010-04-07 13:51:07 +02:00
Friedemann Kleint
8d384fc6ad Fix QSettings keys of FancyMainWindow in QtCreator.ini.
Do not use localized Window Titles. Use objectName
or default to dockWidget<n>".

Task-number: QTCREATORBUG-1059
2010-04-06 11:23:11 +02:00
hjk
c3afba0f0d debugger: add a context menu action to the stackview to create a full
backtrace in the main editor.

Useful for sending bug reports.
2010-03-30 17:26:52 +02:00
hjk
acc4563f37 debugger: always reset 'reverse' state when shutting down the debugger 2010-03-26 10:29:58 +01:00
hjk
5f0281083b debugger: code cosmetics 2010-03-26 10:29:57 +01:00
hjk
3d30239a1c debugger: fix soft assertion when "operate by instruction" was toggle without
a valid stack trace.
2010-03-25 14:59:57 +01:00
hjk
9752df7cc5 debugger: cosmetics 2010-03-25 12:29:51 +01:00
Jens Bache-Wiig
a3b7290f37 Improved statusbar output for the debugger mode
* We now consistently avoid punctuation when possible
* Renamed usage of "Inferior" and "Program" to "Application" for
  increased readability
* Fixed inconsistent spacing in front of statusbar label

Reviewed-by:hjk
2010-03-23 14:52:38 +01:00
hjk
af14d9fc48 debugger: remove or rename a few images. 2010-03-22 15:09:41 +01:00
hjk
481a77111d debugger: "fix" reverse execution icon.
Needs work...
2010-03-22 15:09:13 +01:00
hjk
8eee28d8b7 debugger: shorten startup failure message a bit 2010-03-22 15:09:13 +01:00
hjk
41d400eb24 debugger: hide "watchers" part of Locals&Watchers if there aren't watchers 2010-03-22 13:41:42 +01:00
Lasse Holmstedt
492fffb4cc Added automatic language switching option to debugger settings
Additionally, hiding of debugger menu entries was done as most of
them are irrelevant for QML debugging.
2010-03-18 17:05:22 +01:00
Lasse Holmstedt
b14a208273 Made debugger menu items disabled in QML inspector mode 2010-03-18 17:02:26 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
Friedemann Kleint
ac66b70d27 Debugger: Fix engine detection: Add default path for mode. 2010-03-17 14:54:48 +01:00
Friedemann Kleint
0216a0012f Debugger fixes: Attach core/Compile Windows/Run XP.
Retrieve QueryProcessImageFileNameW via QLIbrary/dlopen
on all platforms due to it being not present on Windows XP.
2010-03-17 13:00:44 +01:00
Jens Bache-Wiig
d58184173e Clean up layouts and use minisplitter everywhere
This patch replaces all uses of QSplitter with thin 1-pixel
splitters. I also fixed dock widget layouts in main windows
to do the same. Additionally I had to tweak the tabbars so
they look good in mini splitter layouts to avoid a double
left-border.

Reviewed-by: thorbjorn
2010-03-17 11:23:10 +01:00
Friedemann Kleint
0146926f19 Debugger: Improve engine detection.
Try to detect engine by looking at toolchain, executable,
attach mode. Find out path to executable in attach to running
dialog.

Reviewed-by: hjk
2010-03-17 10:57:19 +01:00