summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/watchhandler.h
Commit message (Collapse)AuthorAgeFilesLines
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Debugger: Some infrastructure for stricter watch model testinghjk2014-06-031-1/+1
| | | | | | | Targeting re-use for tooltips, and potentially sorting. Change-Id: I1ce8f4da73ab5ca13cd70d7c651bc76c67f91a39 Reviewed-by: hjk <hjk121@nokiamail.com>
* Debugger: Better handling of the tabbed extra viewshjk2014-06-031-6/+3
| | | | | | | | | Closing with the [x] now resets the Display mode of the associated iname, and the view hides if there are no visible tabs left. Also, remove the long-unused DisplayProcess format. Change-Id: Ibd3308549af75e345c672c07f6714d26e7196e5a Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: Make char * displayable in separate windowshjk2014-05-281-0/+3
| | | | | | Task-number: QTCREATORBUG-7313 Change-Id: I8d475dd94a48e7a1d5efe4c2c0d90cb6bdf9b3e2 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: Rework display type selectionhjk2014-04-291-12/+69
| | | | | | | | | | | The previous index based way was getting too brittle, use enums instead. Also add a switch between exponential and flat display for floating point types. Task-number: QTCREATORBUG-12050 Change-Id: I86addbac5a80e8b79b176c6107b251b466503fe7 Reviewed-by: David Schulz <david.schulz@digia.com> Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Merge remote-tracking branch 'origin/3.0'Eike Ziller2014-01-081-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: share/qtcreator/debugger/dumper.cpp share/qtcreator/debugger/dumper_p.h share/qtcreator/debugger/test/main.cpp src/plugins/debugger/gdb/classicgdbengine.cpp src/plugins/debugger/gdb/pythongdbengine.cpp src/plugins/debugger/lldblib/guest/lldbengineguest.cpp src/plugins/debugger/lldblib/guest/lldbengineguest.h src/plugins/debugger/lldblib/guest/main.cpp src/plugins/debugger/lldblib/ipcengineguest.cpp src/plugins/debugger/lldblib/ipcengineguest.h src/plugins/debugger/lldblib/ipcenginehost.cpp src/plugins/debugger/lldblib/ipcenginehost.h src/plugins/debugger/lldblib/lldbenginehost.cpp src/plugins/debugger/lldblib/lldboptionspage.cpp src/plugins/qbsprojectmanager/qbsstep.cpp src/plugins/qbsprojectmanager/qbsstep.h src/plugins/qmlprofiler/canvas/qdeclarativecanvas.cpp src/plugins/qmlprofiler/canvas/qdeclarativecanvas_p.h src/plugins/qmlprofiler/canvas/qdeclarativecontext2d.cpp src/plugins/qmlprofiler/canvas/qdeclarativecontext2d_p.h src/plugins/qmlprofiler/canvas/qmlprofilercanvas.cpp src/plugins/qnx/blackberrycheckdevmodestep.cpp src/plugins/qtsupport/debugginghelper.cpp Change-Id: Ie9fd0a885fb6264a6a8a72daee071b75bcbd2e9d
| * Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | | | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Debugger: Remove some unused functions from WatchHandlerhjk2014-01-061-5/+0
| | | | | | | | | | Change-Id: I8be7b06c44ebb83385ecb9cc8b5c9aa684d97458 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* | Debugger: Make also individual formats persistenthjk2013-12-201-2/+2
|/ | | | | | | | | | I am not fully convinced this is a good idea, but it looks like the different behaviour of type formats and individual formats is unexpected. Task-number: QTCREATORBUG-7412 Change-Id: I5aae39939dfe75b3d9ff6c1025bd3d9c9222695a Reviewed-by: David Schulz <david.schulz@digia.com>
* Debugger: Remove some dead codehjk2013-11-081-1/+0
| | | | | Change-Id: I715744621e5e74fcd6cd0e2b9fba0c5881cd8da8 Reviewed-by: hjk <hjk121@nokiamail.com>
* Clean headers in debugger plugin.Friedemann Kleint2013-03-221-3/+0
| | | | | Change-Id: Ia50e61a82101b699390b23b4f1ea9509619314bb Reviewed-by: hjk <hjk121@nokiamail.com>
* Debugger: Better usability of separate displayshjk2013-02-111-3/+3
| | | | | | | | Close separate displays when watch models get destroyed, make geometry persistent in the session. Change-Id: I67a22b0a17fa63441073f8ad0b06bcc0f49b348c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Merge remote-tracking branch 'origin/2.6'Oswald Buddenhagen2013-01-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp src/plugins/qmldesigner/designercore/include/widgetqueryview.h src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qnx/bardescriptormagicmatcher.h src/plugins/qt4projectmanager/profilekeywords.cpp src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
| * Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | | | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Debugger: Add a tab widget for separate value display.Friedemann Kleint2012-12-131-0/+7
|/ | | | | | | | | | | | Debugger display in separate windows currently opens several widgets without title at the same location that disappear below the main window when stepping. Put them in a tabwidget and raise it when setting new values. Task-number: QTCREATORBUG-8344 Change-Id: Icb6dd8942ab851aeeb6a9248c4a1360e8841cf61 Reviewed-by: hjk <qthjk@ovi.com>
* Inspector: Fetch objects lazilyAurindam Jana2012-11-241-0/+1
| | | | | | | | | | QML objects are fetched lazily when constructing the object tree. Incase parents have not been previously fetched, we fetch the required data to construct only the relevant branch of the tree. Task-number: QTCREATORBUG-8246 Change-Id: Id529c3b2334d33ff4eb46b14f50cf042ad2960e2 Reviewed-by: hjk <qthjk@ovi.com>
* Try to watch local variable in watchwindow-DND, too.Friedemann Kleint2012-10-291-0/+1
| | | | | | | | | | Fix codepath overlooked in 6886e485de59bc1fe1fe84ca6c1fb1263b18420b by introducing a WatchHandler::watchVariable(). Task-number: QTCREATORBUG-8120 Change-Id: Ibab2619754e0006f3c81810a6bfdf758261c169e Reviewed-by: hjk <qthjk@ovi.com>
* QmlDebugger: Insert locals correctlyAurindam Jana2012-10-101-1/+1
| | | | | | | | | | | | The watchhandler needs to be reset for locals before inserting the values of a new frame. Also the DebuggerTooltipManager needs to be notified. The values of the locals in the LocalsAndExpressions window should be editable. Task-number: QTCREATORBUG-7992 Change-Id: I556e23b408db09b510f1f2bc350ff55187ec87c2 Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* debugger: fix color for changed items in locals and expressions viewhjk2012-09-211-1/+1
| | | | | Change-Id: I93905f8e97e2738590fecf41ac7294c2f6872335 Reviewed-by: hjk <qthjk@ovi.com>
* Handle watching/tooltips of C++ editor tokens consistently.Friedemann Kleint2012-09-031-10/+2
| | | | | | | | | | | | | | | | | For editor tooltips and the editor context menu 'Watch expression', always try to find a local variable first and use its expression. Change the tooltip manager/widgets not to rely on the debugger model enum and obscure expression, filter by complete iname instead. Remove obsolete enumeration. Change gdb's handling of tooltips such that local variables are displayed immediately without creating additional tooltip items. Change-Id: I9b55823428029ba50d84d3a8cab55eb58942e72b Reviewed-by: hjk <qthjk@ovi.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* debugger: work on watchmodel bulk inserthjk2012-05-311-0/+1
| | | | | Change-Id: Ib92c8b02bc8e608810b3fa0f2d70d6547e428933 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: fix regression when trying to remove watched expressionshjk2012-05-241-1/+0
| | | | | Change-Id: I0d12339ab1903dc78eec699e07fc0c17daab0e5d Reviewed-by: hjk <qthjk@ovi.com>
* debugger: rework WatchModelhjk2012-05-241-125/+39
| | | | | | | | | | | It's one model for all locals, watch, return, tooltip and inspector data. This allows more streamlined code paths and better isolation of the model data from the WatchHandler. WatchItems are now registered in a hash indexed by iname, so inames can be used as the primary handle to watch data in the WatchHandler interface. Change-Id: Idac0a808b5d785307496d1de4198a1f2e9ce3880 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* Merge QML inspector into debugger pluginKai Koehne2012-05-091-1/+13
| | | | | | | | | Merge QmlJSInspector plugin into the debugger. Also merge the extra Inspector window with the Locals & Watchers: It now shows the QML object tree in the running state. Change-Id: I59ae0c1b970a48ba10ecda92ed3ba765d94b1d9c Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* debugger: remember format settings also for individual variableshjk2012-03-141-5/+1
| | | | | | Task-number: QTCREATORBUG-6944 Change-Id: I98c803e64a6a1ac2c07a0d0b0f31c6d7756faffc Reviewed-by: hjk <qthjk@ovi.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-5/+5
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* debugger: Do not display empty tooltipshjk2012-02-071-0/+1
| | | | | | Task-number: QTCREATORBUG-6893 Change-Id: Idb780e97c23f6cc5d1bcede149959b2e58f9eaa2 Reviewed-by: hjk <qthjk@ovi.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* debugger: do not disable updates on locals and expressionshjk2012-01-201-3/+0
| | | | | | | Task-number: QTCREATORBUG-5474 Change-Id: I6a2e872ac64a6ae57ff1ee9618937f0752fbb4ed Reviewed-by: David Schulz <david.schulz@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
* debugger: fix recent regression of non-persistent expanded watch itemshjk2012-01-191-0/+2
| | | | | Change-Id: Iec8b37812faca5584d268712181ffeca98ef6e8a Reviewed-by: hjk <qthjk@ovi.com>
* debugger: grey out Locals&Expressions when not accessiblehjk2012-01-171-0/+6
| | | | | Change-Id: I61489b9a5bf117be154ed6899beb3f8294247c9e Reviewed-by: hjk <qthjk@ovi.com>
* Debugger: Compile with QT_NO_CAST_FROM_ASCII.Friedemann Kleint2011-12-211-1/+1
| | | | | | | | (except gdbmi.cpp, name_demangler.cpp). Remove some unneeded conversions, change some maps to take QByteArray keys. Change-Id: I010f1251998a441fe5c8c87901b1e0c277c0391c Reviewed-by: hjk <qthjk@ovi.com>
* debugger: test the data that ends up displayed, not the raw datahjk2011-11-251-0/+3
| | | | | Change-Id: I9453abd43299416e8d8535f9567fe96ff976e413 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: immediate refresh after toggling sort order of struct membershjk2011-11-241-0/+3
| | | | | Change-Id: Iac7de58ca8681a60a4b6c9d0e717eb57753898b5 Reviewed-by: hjk <qthjk@ovi.com>
* Merge remote-tracking branch 'origin/2.4'Eike Ziller2011-11-111-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/qmljs/qmljsinterpreter.cpp src/libs/qmljs/qmljsinterpreter.h src/plugins/debugger/qml/scriptconsole.cpp src/plugins/git/gitplugin.cpp src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas.cpp src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas_p.h Change-Id: Iad59c8d87c72a21c79c047e374c0ab689998af39
| * all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | | | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* | debugger: add dialog to edit display typeshjk2011-11-081-1/+6
|/ | | | | Change-Id: If1ea8cdab359bcad80e37dd4a932e4b586527264 Reviewed-by: hjk <qthjk@ovi.com>
* WatchHandler: Move generationCounter to individual WatchModelsAurindam Jana2011-09-081-2/+5
| | | | | | | Change-Id: I39cdd48ed02cbcf6702076245c765cb6c8926c1b Reviewed-on: http://codereview.qt-project.org/4429 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
* debugger: speed up QDate, QTime, QDateTime dumpershjk2011-08-251-0/+3
| | | | | | Change-Id: I9ed3961d047738bd3add87b1f00d548df1fb01d8 Reviewed-on: http://codereview.qt.nokia.com/3609 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: saner handling of unprintable chars in Locals&Expressionshjk2011-08-031-3/+2
| | | | | | Change-Id: Ia257356ec297dfa7766354d92538886ba2492b55 Reviewed-on: http://codereview.qt.nokia.com/2566 Reviewed-by: hjk <qthjk@ovi.com>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Update license.hjk2011-04-131-14/+13
|
* QmlDebugger: WatchersChristiaan Janssen2011-03-241-0/+1
| | | | Reviewed-by: hjk
* debugger: make output format of non-printable characters customizablehjk2011-02-171-0/+4
|
* Debugger: Make tooltips pinnable.Friedemann Kleint2011-02-111-2/+2
| | | | | | | | | | | | 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
* Debugger: Add some menu actions.Friedemann Kleint2011-01-141-0/+1
| | | | | - Windows: Inspect a module by running depends. - Clear all watches.
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* Merge branch '2.1'con2010-12-171-7/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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