hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
hjk
c6a8b39a03
debugger: hard-code some qt5 related paths
...
This is not a final solution.
Change-Id: I19e7a99e1b056704864d27855197678a0d3fd10b
Reviewed-on: http://codereview.qt-project.org/5073
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-16 11:06:20 +02:00
hjk
e978dce852
debugger: remove some old test code
...
Change-Id: I899cc0ac4e130ceeb08c474ee255fbe2613c2e6b
Reviewed-on: http://codereview.qt.nokia.com/3875
Reviewed-by: hjk <qthjk@ovi.com >
2011-08-30 12:47:53 +02:00
Kai Koehne
1757228278
New QTC_CHECK warning replacing QTC_ASSERT(x, /**/)
...
Warn if the condition fails, but otherwise don't change the execution
flow.
Change-Id: Id7b14c745109b66960add967b2a4ef8d31e1a546
Reviewed-on: http://codereview.qt.nokia.com/2389
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-07-29 12:19:11 +02:00
hjk
fdcd6dc2fb
debugger: make auto-deref display the pointer properly on toplevel entries on mac
...
Change-Id: I98644761466731286d89f296a8eeefab3425501f
Reviewed-on: http://codereview.qt.nokia.com/1359
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-07-08 12:12:14 +02:00
hjk
78b1b042e3
debugger: replace artificial "{console,log}streamoutput" member in GdbMi
...
Use proper QByteArray member in GdbResponse instead. Less magic, and
does not break array-style reponses where all children are assumed to
be of the same "type".
Change-Id: Ief1efdeb0412f59836e1b2d6f4cb751ddef3216e
Reviewed-on: http://codereview.qt.nokia.com/1184
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-07-06 11:13:49 +02:00
hjk
cdfcbcd0e0
debugger: simplify updateLocals() parameters
...
Change-Id: I7da344c8eeade5153fb0b98a45e139654a2119dd
Reviewed-on: http://codereview.qt.nokia.com/177
Reviewed-by: hjk <qthjk@ovi.com >
2011-05-27 11:22:53 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Oswald Buddenhagen
45c9cf7a12
add/unify i/o error handling
...
lots of use of Utils::FileSaver and Utils::FileReader
Task-number: QTCREATORBUG-1619
2011-04-18 14:10:14 +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
67d391019b
Debugger: Have Python dumper print type size information.
...
For memory views. In the dumper, create a cache of TypeInfo
structs to contain type information and print the new entries
in each call of bb().
Collect the information in the gdb engine.
Replace WatchData::origAddress by WatchData::ReferencingAddress
to be able to correctly handle automatically dereferenced
pointers of the gdb engine. Whereas 'address' of a automatically
dereferenced used to be that of the pointer, it is now that
of the dereferenced item matching the size reported, enabling
memory views. Referencing address is now the address of the pointer.
Reviewed-by: hjk
2011-04-12 15:56:03 +02:00
hjk
e7441dab12
debugger: move not-so-generic stuff to gdb/classicgdbengine.cpp
2011-04-12 08:07:24 +02:00
Friedemann Kleint
88f333267f
Fix Krazy code scanning tool warnings (QString, loops, spelling).
2011-02-25 15:28:01 +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
hjk
a6dd51c76c
debugger: properly sort arrays even with the 'classic' gdb engine
2011-02-08 18:28:02 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Friedemann Kleint
a7eccce733
Debugger: Header cleanup
2011-01-10 10:14:23 +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
40c9b8f2f0
debugger: remove "debug debugging helper" option
...
Only useful for the compiled dumpers, and I have not used it for a while.
2010-11-29 13:52:43 +01:00
hjk
8ae541b36f
debugger: Refactor breakpoint handling.
...
The breakpoints are now (fairly) tightly guarded by the BreakpointHandler.
Engines and Views are only supposed to refer to them by id. They also have
individual states now. The breakpoint data is split into a "user requested"
"fixed" part in BreakpointData and the engines' acknowledged data in a new
struct BreakpointResponse.
TODO: Move m_state and m_engine members to BreakpointResponse. Fix regressions
in the marker handling.
2010-11-15 12:09:25 +01:00
hjk
2161e0f6d9
debugger: refactoring of the plugin interface
...
There's some 'external' and some 'internal' part now. Other plugins
are only supposed the external interface.
2010-11-10 12:08:23 +01:00
hjk
8e62715130
debugger: move logical ownership of breakhandler from engines to plugin
2010-11-04 09:55:05 +01:00
Friedemann Kleint
22f03cbde6
ProjectExplor/Debugger: Header cleanup
2010-11-02 16:14:00 +01:00
Friedemann Kleint
edeccf7307
Debugger: Fix dumpers in case alphabetical sorting is off.
...
No longer change iname to obtain sorting.
Reviewed-by: hjk
2010-10-08 14:57:39 +02:00
hjk
ea4b64dee4
debugger: remove rarely needed "Recheck Debuggging Helper Availability"
...
context menu entry.
It was more a debugger debugging aid in the early days of compiled dumpers
anyway.
Reviewed-by: Friedemann Kleint
2010-09-28 13:15:42 +02:00
hjk
034bb72dc4
debugger: make alphabetic sorting of struct members optional.
...
Task-number: QTCREATORBUG-1608
2010-09-23 11:17:01 +02:00
Friedemann Kleint
b67c1a7889
Debugger: Sanitize Datatypes, part 3: Address of watch items.
...
Use a quint64 as address. Split apart special handling of
QAbstractItemModels of old shared-library based dumpers
(passing '$'+ special expression as address) into separate
dumperFlags QByteArray.
2010-09-22 11:19:35 +02:00
Friedemann Kleint
24cadd34a1
I10N: First translation fixes for 2.1
...
Fix README, some spelling errors, remove contractions,
exclamation marks, correct some plural forms, join split messages.
Add QCoreApplication::translate to non-Q_OBJECT-classes.
Fix some lupdate warnings about discarding meta-data (//:).
2010-09-10 10:51:43 +02:00
hjk
d653099b8c
debugger: don't show list of searched dumper locations if there was none
2010-09-08 11:54:55 +02:00
hjk
ad95e3372d
debugger: fix recently introduced regression with compiled dumpers.
...
'+' instead of '+='. Duh.
2010-09-08 10:26:17 +02:00
Robert Loehning
491c8e1334
debugger: compile fix msvc. done by hjk.
2010-09-01 18:02:56 +02:00
hjk
4cbbe366af
debugger: make a 'type' a QByteArray, not a QString
...
Saves lots of conversion.
2010-09-01 17:36:09 +02:00
hjk
7b5b60ff8a
debugger: code cosmetics
2010-08-27 17:24:22 +02:00
hjk
f292254967
debugger: attempt to re-try examining dumper location after build.
...
Still does not work as the location itself is unknown.
2010-07-21 12:07:49 +02:00
hjk
c234c7cf14
debugger: don't show the version nag dialog if version extraction went wrong
2010-07-21 11:14:35 +02:00
hjk
99fdaf06a2
debuygger: make snapshots using true parallel engines
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
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
9f7e9dc0ae
debugger: refactoring of output channeling
2010-06-14 18:22:09 +02:00
hjk
b3aff6b919
debugger: more of the RunControl refactoring
...
Pass output through the RunControl instead of the DebuggerManager.
2010-06-14 17:24:13 +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
con
30fae3eab1
Merge remote branch 'origin/2.0'
...
Conflicts:
doc/qtcreator.qdoc
src/plugins/projectexplorer/taskwindow.h
src/plugins/qmldesigner/designercore/model/modelmerger.cpp
src/plugins/qmljseditor/qmljshoverhandler.h
src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
src/plugins/subversion/subversionplugin.cpp
2010-06-11 16:30:39 +02:00
Oswald Buddenhagen
2592e6eed0
non-python: fix dumping of structs inside qt containers
...
Reviewed-by: hjk
2010-06-11 11:13:16 +02:00
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
098dd35134
debugger: check matching Qt versions of compiled dumpers and debuggee
2010-05-20 16:49:48 +02:00
hjk
148d232e88
debugger: implement return value visualization also for gdb/NoPython
2010-05-19 13:20:34 +02:00
hjk
2f69bae63f
debugger: gather more information on threads when easily available
2010-05-18 12:13:27 +02:00
ck
ef7c5fae60
Debugger: Support running GDB over SSH.
...
Reviewed-by: hjk
2010-05-05 12:51:21 +02:00