Commit Graph

78 Commits

Author SHA1 Message Date
Oswald Buddenhagen
e160f071ce centralize addition of pluginspecs to OTHER_FILES 2010-11-03 17:47:41 +01:00
Arvid Ephraim Picciani
2a569ce073 Clean up BreakPoint
Reviewed-by: Friedemann Kleint
Reviewed-by: hjk
2010-10-29 11:29:37 +02:00
Arvid Ephraim Picciani
728ef58b16 clean up ThreadData
Reviewed-by: hjk
2010-10-15 12:05:13 +02:00
hjk
de8927837f debugger: remove unused break-by-function dialog 2010-09-28 13:15:42 +02:00
Friedemann Kleint
ca808cc7b4 Debugger: Add special widgets for editing watch values.
Create delegate widgets with validation for bool/int/float
types, using a QVariant-type modelData property.
Also fix register editing to be validated for quint64 values
and editing longer values as hex bigints. Anything else is not
editable.
2010-09-22 17:30:22 +02:00
hjk
02283ea84d debugger: rename output window into log window 2010-09-22 16:22:57 +02:00
hjk
cf1ffdbc45 debugger: start implementing a debugger console 2010-09-22 16:02:15 +02:00
hjk
718433d27e debugger: add a somewhat more generic breakpoint creation dialog 2010-09-21 16:33:14 +02:00
Lasse Holmstedt
b71c3c62ba QML Debugger refactoring
Now, QmlEngine creates the connection to the inferior (debuggee), and
notifies QmlInspector when a connection is established. Before,
inspector created the debugger engin, which was wrong.

QmlEngine's responsibilities are connecting to the debuggee and basic
QML/JS debugging features like locals & watchers, breakpoints etc.
QmlInspector takes care of Live Preview and other fancy inspection
features.

Reviewed-by: hjk
2010-08-13 14:20:39 +02:00
Olivier Goffart
9df9695a7f debugger: get rid of the private header dependency
Removed the CanvasFrameRate class as it is not used, and
depends on private Qt API
2010-08-10 10:10:39 +02:00
Kai Koehne
17bab9dce9 Debugger: Fix compilation if no private headers are specified
Don't try to compile the qml debugger backend (which needs
private headers from Qt) if private headers cannot be located.

Reviewed-by: hjk
2010-08-09 14:40:28 +02:00
Olivier Goffart
f3cdbeff63 QmlJsInspector: remove private header dependencies
A copy of the client debugging code is made in src/libs/qmljsdebugclient/
(this comes from the qt code from commit 65642dd343bf61)

So the qmljsinspector plugin does not require anymore Qt private headers.
2010-07-29 14:36:11 +02:00
hjk
4f4167a310 debugger: move BreakpointData into file of its own 2010-07-14 17:49:17 +02:00
hjk
99fdaf06a2 debuygger: make snapshots using true parallel engines 2010-07-14 17:49:17 +02:00
dt
b9f9dc9f70 Fix compilation with installed qt 2010-07-07 11:43:03 +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
hjk
17a2f6711e debugger: start second shot at Qml debugging 2010-06-10 14:45:31 +02:00
hjk
35bfbec797 debugger: refactor thread related class 2010-05-18 12:13:27 +02:00
hjk
6c0b947ec1 debugger: first shot a implementing data watchpoints 2010-05-07 15:17:11 +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
6bb7b6176f debugger: add a cut-down version of the dumpers for python 2010-04-27 15:33:23 +02:00
hjk
34db4fd335 debugger: some engine renamings 2010-04-27 15:33:22 +02:00
hjk
9a8ac49c2c debugger: new files for WatchData; move potentially shared code to watchutils.cpp 2010-04-27 15:33:22 +02:00
hjk
400eecf4ef debugger: some work on python 2010-04-27 15:33:17 +02: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
Lasse Holmstedt
580280af26 Changed QML Inspector from a separate global mode to a plugin.
The new QML Inspector depends on DebuggerPlugin. Also added a dropdown menu into
the debugger toolbar from which the user can select the used debugging
language, e.g. C++ or QML.
2010-02-16 15:13:09 +01:00
hjk
70a948abf5 debugger: remove standalone option 2010-02-04 10:38:11 +01:00
hjk
18445dc9c6 debugger: make handling multiple core files a bit more convenient 2010-02-03 08:37:48 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
Oswald Buddenhagen
ba47987e67 purge TCF agent cra^Wstuff
it's dead code
2009-10-08 12:18:03 +02:00
Friedemann Kleint
90470771fd Debugger: Export DebuggerManager and DebuggerStartParameters.
For device debugging. Move both from namespace
Debugger::Internal to Debugger, export them, give
DebuggerManager a static instance().
2009-09-25 16:01:28 +02:00
Friedemann Kleint
ec7c77ca23 Debugger: Work towards exporting DebuggerManager: Introduce d.
Clean out header.
2009-09-25 15:02:16 +02:00
hjk
32e79e10ad debugger: rename TrkFunctor1 into Callback 2009-09-11 15:35:02 +02:00
hjk
75a3112ac4 Revert "make sure symbian include is scoped"
This reverts commit 1e186c5bf9.
The code is not symbian specific, linking error was fixed properly
by adding the needed files to HEADERS.
2009-09-10 13:15:19 +02:00
Henrik Hartz
1e186c5bf9 make sure symbian include is scoped 2009-09-10 12:25:55 +02:00
hjk
ffaa42e585 debugger: merge trk adapter into debugger sources 2009-09-09 17:25:02 +02:00
ck
cbe034e00d Debugger: Added name demangler. 2009-08-25 12:11:04 +02:00
hjk
9febb0bcb8 debugger: remove old disassembler view and handler
It is replaced by a real editor in e82d6c7b0.
2009-08-17 13:34:15 +02:00
hjk
89ffffc183 debugger: use the bineditor to show memory dumps 2009-08-12 14:49:15 +02:00
hjk
ad46f1286f Revert "Enabled the use of Debugger-specific watch/locals models."
This reverts commit abf5e3ddc3.
2009-07-13 09:11:07 +02:00
Friedemann Kleint
abf5e3ddc3 Enabled the use of Debugger-specific watch/locals models.
- Modified WatchModel to handle storage of an hierarchy
  of WatchItems.
- Factored out code for asynchronous population to
  AsyncWatchModel and added a mixin for convenient
  handling
- Added base class for synchronous models.
- Implement simple, synchronous models for CDB, greatly
  simplifying code and finally getting manual
  expansion right.
Signed-off-by: hjk <qtc-committer@nokia.com>
2009-07-10 14:36:28 +02:00
hjk
2a959f47a4 debugger: use an expandable tree in the debugger tooltip 2009-06-24 12:31:09 +02:00
hjk
957a8f3479 debugger: some encoding correctness 2009-05-29 10:35:29 +02:00
hjk
cce1c7f78e debugger: rename 'win' subdir to 'shared' 2009-05-19 15:45:58 +02:00
hjk
420cd301c7 debugger: move script-debugger related code to directory of its own 2009-05-19 15:38:04 +02:00
hjk
f8d16b0381 debugger: move 'win{}' .pro scope from debugger.pro to individual .pri files 2009-05-19 15:35:47 +02:00
hjk
f70affc070 debugger: put tcf related stuff into directory of its own 2009-05-19 15:28:39 +02:00
hjk
f63f18b840 debugger: put gdb related stuff into directory of its own 2009-05-19 15:23:12 +02:00
Alessandro Portale
2be7226215 Rename qworkbenchplugin.pri to qtcreatorplugin.pri 2009-05-08 16:42:48 +02:00
hjk
2fce747a6d debugger: start work "Target Communication Framework" "frontend" 2009-05-07 16:51:02 +02:00