Friedemann Kleint
97a2cc53cf
Debugger[CDB]: Implement AttachCore for debugdiag dumps.
...
Change-Id: I19c57248ed5e7c43b14b849419c9edf29bca26dc
Reviewed-on: http://codereview.qt.nokia.com/2706
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-08-05 17:43:58 +02:00
Friedemann Kleint
f76da43b05
Debugger: Replace virtuals by capability flags.
...
Change-Id: If09efd21dc44e356eb575bb6170356fdbd409b39
Reviewed-on: http://codereview.qt.nokia.com/2625
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-08-04 14:35:18 +02:00
Friedemann Kleint
613a4cc09c
Debugger[CDB]: Re-enable grab widget.
...
Broken by 7100d29f .
Change-Id: I7c7b8e071cd3713549316be35a8f9611f46c1212
Reviewed-on: http://codereview.qt.nokia.com/2107
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-07-25 14:11:52 +02:00
Friedemann Kleint
53295db969
Debugger[CDB]: Display more context in disassembly.
...
Emulate gdb's behaviour trying to disassemble the function.
Task-number: QTCREATORBUG-5205
Change-Id: I2f4dc9393e12324b0423734c5235758a25395fec
Reviewed-on: http://codereview.qt.nokia.com/1029
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-07-04 10:25:43 +02:00
hjk
c041286753
debugger: split BreakpointIndex into plugin and debugger specific part
...
Change-Id: I21d10cf42eb039c74475e106537b6e107d155196
Reviewed-on: http://codereview.qt.nokia.com/745
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-27 09:14:25 +02:00
Oswald Buddenhagen
cfb232eba9
ConsoleProcess: undo pointless processError() => processMessage(bool error) change
2011-05-12 20:39:44 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Friedemann Kleint
5a75276fa0
Debugger: Use base class PID mechanism in CDB.
...
Fix base engine to raise app only in applicable modes.
2011-04-28 10:02:34 +02:00
Friedemann Kleint
c834720710
Debugger[CDB]: Interrupt to fetch memory if required.
2011-04-19 13:57:59 +02:00
Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
Conflicts:
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
src/plugins/qt4projectmanager/qt4target.cpp
src/plugins/qt4projectmanager/qt4target.h
src/plugins/qt4projectmanager/qtoptionspage.h
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Friedemann Kleint
435b4608d9
Debugger[CDB]: Add a pretense to breakpoint conditions.
...
Add the infrastructure for checking on breakpoint conditions
on the QtCreator side (for conditions, bitfield watchpoints).
Have cdb evaluate breakpoint conditions as integer expressions.
2011-03-23 15:08:57 +01:00
Friedemann Kleint
f6ccdfb2cd
Debugger[CDB]: Add source mapping in stack parser.
2011-03-04 17:29:15 +01:00
Friedemann Kleint
fa4dc9ffa6
Debugger[CDB]: Fix run/jump to line for assembly code.
2011-03-01 16:47:02 +01:00
Friedemann Kleint
e8d12ae464
Debugger[CDB]: Add memory editing.
...
Add infrastructure for custom special stops with data.
2011-02-28 14:34:42 +01:00
hjk
5f38a26c9e
debugger: fix 'Jump To/Run to' when in instruction-wise mode
2011-02-23 11:11:39 +01:00
Friedemann Kleint
ef78845474
Debugger[CDB]: Disable WowX86 breakpoints using 'sxn'.
2011-02-23 08:54:24 +01:00
Friedemann Kleint
c74da9b7c5
Debugger: Reduce tooltip flicker.
...
Move tooltip-request handling from DebuggerPlugin into
DebuggerToolTipManager.
Request tooltip only if position changed and close
standard tooltip on success.
2011-02-17 10:11:23 +01:00
Friedemann Kleint
0ac879e39f
Debugger: Make tooltips pinnable.
...
Replace old debugger tooltip by a new ToolTipManager which
has a list of AbstractDebuggerToolTipWidget with the functionality
to 'acquire' an engine (display its data) and 'release' it
(store engine data and display them as 'previous') and serialization
to XML session data.
DebuggerTreeViewToolTipWidget implements AbstractDebuggerToolTipWidget
for tree model acting as a filter on watch models.
Rubber-stamped-by: hjk
2011-02-11 15:09:02 +01:00
Friedemann Kleint
a9982cac70
Debugger[CDB]: Enable engine restart.
2011-02-08 12:08:59 +01:00
Friedemann Kleint
4d46c69d25
Debugger: Documentation work on qtcreatorcdbext/Debugger.
...
Add comments, introduce internal switch in
doc/api/qtcreator-api.qdocconf.
2011-02-04 15:10:17 +01:00
Friedemann Kleint
91ead6c818
Debugger[CDB]: Refactor breakpoint handling.
...
Add a command to list breakpoints enabling id access.
Implemented breakpoint handling similar to gdb using breakpoint
ids (no longer delete and re-set all breakpoints on a change).
Save the module that is reported back in the session so that
it can be re-used for the next start. Keep a per-debugger-session
cache of fileName->Module for adding breakpoints to accelerate
setting breakpoints in the same file.
Polish the breakpoint tooltip.
2011-02-03 16:26:23 +01:00
Friedemann Kleint
3f3ad561c7
Debugger[CDB]: Reduce roundtrips when stepping.
...
Report threads and frames along with stopped notification.
Change special logic for step into and switching threads
on interrupt accordingly.
2011-01-25 18:35:31 +01:00
Friedemann Kleint
3af8188784
Debugger[CDB]: Use Qt Creator console stub instead of CDB console.
...
As the latter immediately closes after the debuggee quits.
Handle pressing Ctrl like DebugBreak(), switch to thread 0.
2011-01-19 10:25:32 +01:00
Friedemann Kleint
11c6ca71ac
Debugger[New CDB]: Add support for "Select Widget to Watch".
...
in stopped state. Add helper for executing calls
to ExtensionContext including recording of output in
OutputCallback. Extend symbol resolution to return addresses
as well since QApplication::widgetAt() is ambiguous and needs
to be called by address. Add 'widgetat' extension command
to return the widget.
2011-01-18 11:40:45 +01:00
Friedemann Kleint
8108bb0c89
Debugger[New CDB]: Ignore only first WOW64 breakpoint.
...
Subsequent ones are caused by interrupts.
2011-01-17 15:18:13 +01:00
Friedemann Kleint
3a87af8ada
Debugger[New CDB]:Introduce watches infrastructure.
...
- Move the 'current module' into the Node
- Split symbol group hierarchy into LocalsSymbolGroup
tied to frame/thread and a separate, scopeless
WatchesSymbolGroup
- Add infrastructure for removing symbols from a SymbolGroup,
doing the index bookkeeping.
- Add method to synchronize watches to WatchesSymbolGroup
(iname/name map).
- Introduce watches commands for adding and dumping.
- Extend locals command to get watches as well.
- Add a dummy 'ErrorSymbolGroupNode' to use in case
insertion fails.
2011-01-14 16:53:05 +01:00
Friedemann Kleint
a60b3f6746
Debugger[New CDB]: Improve 32bit debugging on 64bit systems.
...
- Ignore WOW64 breakpoints. Restructure code to examine stop reason
before notifications to be able handle special stop reasons
in a simpler way.
- Fix autodetection to look into %ProgramFiles% (x64) as well.
2011-01-12 13:51:33 +01:00
hjk
6dd55aa471
debugger: introduce generic master/slaves engine
2011-01-12 12:17:47 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Friedemann Kleint
b74ecbdb5a
Debugger[New CDB]: Update all variables on assignment.
...
Some documentation/comment changes.
2011-01-11 14:58:32 +01:00
Friedemann Kleint
7ff4b1fec2
Debugger[New CDB]: Get rid of postfix '2' in file names/classes.
2011-01-11 11:22:55 +01:00
Friedemann Kleint
01d4c5a3d3
Debugger: R.I.P. old CDB engine.
2011-01-07 15:04:54 +01:00
con
b1bcf081d8
Merge branch '2.1'
...
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
hjk
fb837b5230
debugger: s/*ViewAgent/*Agent/ to reduce noise and match file names
2010-12-14 13:10:07 +01:00
Friedemann Kleint
a4d7fb2f06
Debugger: Fix compilation, centralize breakpoint type detection.
...
Reviewed-by: hjk
2010-11-26 13:06:03 +01:00
Friedemann Kleint
727b8c3c31
Debugger: Use Symbol server nagging code in both CDB engines.
2010-11-18 16:22:41 +01:00
Friedemann Kleint
30d6ae0e3d
Debugger: Make CDB compile again.
2010-11-15 15:24:47 +01:00
Friedemann Kleint
ea59569640
Debugger[CDB]: Add register manipulation and 'Jump to line'.
...
Task-number: QTCREATORBUG-2975
2010-11-03 15:24:02 +01:00
Friedemann Kleint
13c97d652e
Debugger: Fixes around watch editing.
...
assignValueInDebugger: Pass on WatchData as well, pass
on values as QVariant. Based on that, do more extensive
checks in CDB, preventing assignment of non-PODs.
Locals/Watch editing:
* Disable while running
* Edit pointer values as hex with validation.
CDB: Strip class types off reported pointer values and reformat
the values as short 0x-pointer values, introduce flag to
WatchData::source to do dumper expansion handling.
Windows: recognize int64 as int.
Register handler: Fix accessing uninitialized value.
2010-09-23 13:22:08 +02:00
hjk
7457083bab
debugger: only update variables that are operated on
2010-09-13 08:32:37 +02:00
Robert Loehning
3bf0789464
Compile fixes.
2010-07-14 17:49:17 +02:00
hjk
e760700f0f
debugger: overhaul "state machine"
...
This mainly allows for more precise shutdown and tightens the set
of allowed transitions.
2010-07-14 17:49:16 +02:00
hjk
9e7a456457
debugger: refactor startup logic
2010-07-14 17:49:16 +02:00
hjk
7d2f56d3df
debugger: rename CdbDebugEngine into CdbEngine
...
Fits better into the scheme and makes grep^H^H^H^H Ctrl-F-ing easier.
2010-07-08 13:51:29 +02:00