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
hjk
6249aabc75
debugger: prevent the QML editor from setting breakpoints
2010-04-06 17:58:46 +02:00
hjk
f773f4295d
debugger: some gui & code cosmetics
2010-04-06 17:58:46 +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
Thorbjørn Lindeijer
2d21060bc9
Added icons to options dialog categories
...
Some categories do not have icons yet, unfortunately.
2010-03-26 17:47:31 +01:00
Robert Loehning
4dc3ead0d3
Added an option to register Creator as post-mortem debugger.
...
Task-number: QTCREATORBUG-450
2010-03-25 17:04:21 +01:00
con
6bd7a5a17d
Fixes: Tooltips for hover help didn't show up anymore.
...
Reviewed-by: Thorbjørn
2010-03-23 18:24:59 +01:00
Thorbjørn Lindeijer
510971d216
Introduced a single convenient function for updating additional contexts
...
While before you had to call add, then remove for each context id and
then call update, now you call updateAdditionalContexts with a list of
contexts to remove and add. It has the update step built in.
Reviewed-by: con
2010-03-23 15:35:22 +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
Lasse Holmstedt
d5bdad2269
context-based hiding/showing of debug menu entries
...
the previous implementation relied on poking around with setVisible
of the menu actions. Now, command attribute CA_Hide is used instead for
the necessary entries.
Reviewed-by: hjk
2010-03-19 13:59:57 +01:00
Lasse Holmstedt
4e578d955a
setting menu item visiblity in debuggeruiswitcher
2010-03-18 17:10:18 +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
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
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
hjk
9d624732c8
debugger: code cosmetics
2010-03-11 12:25:05 +01:00
hjk
60995cf0ab
debugger: re-enable basic support for reverse execution.
...
Needs polishing.
2010-03-11 12:04:19 +01:00