Commit Graph

461 Commits

Author SHA1 Message Date
hjk
afb54077f5 debugger: fix some regressions in the log output after the engine refactoring 2010-06-30 14:40:04 +02:00
hjk
f538736cfc debugger: fix c&p error causing 'jump to line' to fail 2010-06-30 14:40:04 +02:00
con
82cc4b4302 Fix consistency issue with splitter in debug mode.
Task-number: QTCREATORBUG-598
2010-06-30 13:43:53 +02:00
hjk
f56dacc76f Core::Context: remove special handling of C_GLOBAL_ID/C_GLOBAL 2010-06-28 14:30:03 +02:00
hjk
200b18d44a debugger: don't load registers if view is not shown 2010-06-28 10:30:18 +02:00
hjk
2f5f358ff4 Core::Context: compile hot fix for Windows. 2010-06-25 17:38:25 +02:00
hjk
2bdf10ce10 debugger: reenable disabling of breakpoints in editor context menu 2010-06-25 17:38:25 +02:00
hjk
f3d38de913 debugger: fix breakpoint toggling of "moved" breakpoints 2010-06-25 17:38:25 +02:00
Friedemann Kleint
beba423a16 Debugger[Trk]: Added TCF experimental adapter.
Added adapter to work with TCF over WLAN.
Factor out common code for Symbian from TrkAdapter.
Improve message logging in TrkGdbAdapter, some cleanup.
Added new TcfTrkGdbAdapter based on TcfTrkDevice
in symbianutils based on JSON, using QTcpSocket.
To be started via special @tcf@ argument.
Rubber-stamped-by: hjk
2010-06-25 15:06:30 +02:00
hjk
03be40ddcd debugger: remove unused code 2010-06-25 14:38:44 +02:00
hjk
c7e8b51d37 core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.

Reviewed-By: con
2010-06-25 12:58:07 +02:00
hjk
6493b4853d debugger: adjust loading/saving of watched expressions to recent changes 2010-06-25 10:21:39 +02:00
hjk
a25fd01a10 debugger: simplify handling of context menu actions of the Locals&Watchers view 2010-06-23 16:16:32 +02:00
hjk
ed2862acce debugger: remove special mechanism to update watcher and return window 2010-06-23 14:12:14 +02:00
hjk
5adb6559e2 debugger: attempt to fix symbian output connections 2010-06-23 12:40:56 +02:00
hjk
f6ac7aabee debugger: attempt to fix maemo output connections 2010-06-23 11:27:38 +02:00
hjk
e6590ff598 debugger: fix addToWatchWindow 2010-06-23 11:06:01 +02:00
hjk
ccd46ec4cf debugger: simplify debugger session data handling 2010-06-22 18:18:13 +02:00
hjk
4b14dc5be8 debugger: make DebuggerPlugin::showStatusMessage private 2010-06-22 17:46:44 +02:00
hjk
817dbabd79 debugger: work on action handling 2010-06-22 17:46:44 +02:00
hjk
c5c0dc76a0 debugger: restore session breakpoints if RunControl finishes 2010-06-22 15:14:44 +02:00
Friedemann Kleint
cda5f5d69b Debugger: Re-enable CDB 2010-06-22 14:23:22 +02:00
hjk
9a3acd48e4 debugger: re-connect 'executeDebuggerCommand' 2010-06-22 12:42:26 +02:00
Friedemann Kleint
ecff29be07 Compile Windows. 2010-06-22 12:28:05 +02:00
hjk
f1cd284a33 debugger: connect some loose ends 2010-06-22 12:04:56 +02:00
hjk
0f1290b0c0 debugger: link fix 2010-06-22 11:45:45 +02:00
hjk
6a6cba5518 debugger: The DebuggerEngine refactoring.
This replaces the (de facto) singleton engines and data handlers by classes
that are instantiated per run. The DebuggerRunControl will now create an
object of (a class derived from) DebuggerEngine that contains all the relevant
"dynamic" data.

DebuggerManager is no more. The "singleton" bits are merged into DebuggerPlugin,
whereas the data bits went to DebuggerEngine.

There is no formal notion of a "current" DebuggerEngine. However, as there's
only one DebuggerEngine at a time that has its data models connected to the
view, there's still some "de facto" notion of a "current" engine. Calling
SomeModel::setData(int role, QVariant data) with custom role is used as the
primary dispatch mechanism from the views to the "current" data models
(and the engine, as all data models know their engine).
2010-06-22 10:59:57 +02:00
Friedemann Kleint
effa8a38da Windows compilation fix / 97edcb7977 2010-06-14 11:21:31 +02:00
hjk
97edcb7977 debugger: start 'runcontrol-ification' of the debugger plugin.
This replaces most uses of DebuggerStartParameters by DebuggerRunControl
which is a simple RunControl with a DebuggerStartParameters member.

Plan is to move all global state to the run controls, and possibly
introduce specialized ones for core debugging etc.
2010-06-14 10:45:11 +02:00
hjk
dbdecb2f8f debugger: more RunControl related cleanup 2010-06-14 10:45:11 +02:00
hjk
90cb7df5be debugger: re-organize code a bit 2010-06-11 12:38:54 +02:00
hjk
c620624989 debugger: fix breakpoint setting using context menu 2010-06-11 12:37:31 +02:00
hjk
17a2f6711e debugger: start second shot at Qml debugging 2010-06-10 14:45:31 +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
381c54063c debugger: remove obsolete createBreakpointByFileAndLine() 2010-05-28 13:44:49 +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
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
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
Thorbjørn Lindeijer
712c7e212e Make TextEditorPlugin internal again
The TextEditorSettings class already provides the appropriate signal.
2010-04-20 09:09:09 +02:00
Lasse Holmstedt
af3f10dfdd Fixed auto-switching issues with QML inspector and c++ debugger
Reviewed-by: hjk
2010-04-13 15:16:03 +02:00
hjk
a795c69325 debugger: more breakpoint refactoring 2010-04-12 12:02:16 +02:00
Friedemann Kleint
6d2c9abb5d Debugger/[gdb]: Remote debugging: Override toolchain gdb-detection
if an executable was specified.
2010-04-12 08:38:28 +02:00
hjk
239e4ca507 debugger: move toggleBreakpoint() from DebuggerManager to DebuggerPlugin 2010-04-09 15:58:17 +02:00
hjk
4eb83cd8b2 debugger: basic support for address-based breakpoints 2010-04-09 15:32:33 +02:00
Thorbjørn Lindeijer
e3cae2b52a Comment fix and removed misplaced backslash 2010-04-08 16:28:04 +02:00