summaryrefslogtreecommitdiff
path: root/src/plugins/debugger
Commit message (Collapse)AuthorAgeFilesLines
* Debugger: Make most of tooltip label a handle for dragging.hjk2014-11-101-1/+2
| | | | | | | Previously, the actual text, not the free space, was usable. Change-Id: Ib33990def16e48826505c45b6b764dc4c9fbb314 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* qbs build: Remove unneeded import statements.Christian Kandeler2014-11-102-3/+0
| | | | | | | The respective items are available without it. Change-Id: Idc840cf08e7bec84f561c096afe8de25b1fb8468 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Fix compilation with Qt 5.3Orgad Shaneh2014-11-102-5/+9
| | | | | | | Functor override for QTimer::singleShow was introduced in 5.4 Change-Id: I8970c73a1d4b97c6cc588cddca8d617fdaa8bfa2 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: Rename hide to hideAllToolTips in tooltipmanager.cpphjk2014-11-071-5/+5
| | | | | | | Easier to guess what gets hidden. Change-Id: Ie7731dc6bb601bfa1ea6eb8cb69822e72bdfbd66 Reviewed-by: hjk <hjk121@nokiamail.com>
* Debugger: Simplify debuggertooltipmanager.hhjk2014-11-072-295/+269
| | | | | Change-Id: Iaa4204d374913c65e322b2a00831caeb1b3b1ccc Reviewed-by: hjk <hjk121@nokiamail.com>
* Debugger: Expose WatchModel signalshjk2014-11-075-124/+91
| | | | | | | | This opens it up to be used with Qt5 connects in the TooltipManager and simpler user code. Change-Id: Ifc6fcc3a04d325437f5a2bdf1da463d28d650ee3 Reviewed-by: hjk <hjk121@nokiamail.com>
* Debugger: Fix number of appearances of data watch pointshjk2014-11-071-1/+4
| | | | | | | | | | | At least on Linux setting one data watch point resulted in two view entries, since we parse two responses (direct command response, and later GDB notification). Suppressing the second was not working well enough. Change-Id: Ica99c000d4912a9480a9e7020d2fdfdb866753b5 Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Debugger: Do not directly call Engine::notify() functions from other threadshjk2014-11-041-2/+1
| | | | | | | | We call updateViews() and similar and therefore need to be in the gui thread. Change-Id: Ia0e9be59dbcc529341449ba7f64a93cda320ff5b Reviewed-by: Ulf Hermann <ulf.hermann@digia.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Introduce and use FileName::exists()hjk2014-11-031-1/+1
| | | | | | | | This can use the faster route through QFileInfo::exist now. Change-Id: Idb41b5d5185d7f02eacba498fb01f483d95e8d57 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Use QFileInfo::exist(f) instead of QFileInfo(f).exists() if possiblehjk2014-11-033-6/+6
| | | | | | | | Faster. Change-Id: I91aa67462e11ff3258600d7f158de79942d0dc81 Reviewed-by: Marc Reilly <marc.reilly@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Fix debugging in iOS SimulatorEike Ziller2014-10-301-0/+3
| | | | | | | | | | Broke with 3bafbe710f1e1745c0a70031cd1a6a2350addc5f We need to have the attachPid set with the inferiorPid after we got it from the iossim tool. Task-number: QTCREATORBUG-13261 Change-Id: I4f876817bed5566b5025d23416dd85676bc2e68b Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
* Cdb: Replace postCommand("g") with doContinueInferior.David Schulz2014-10-281-3/+3
| | | | | | | Removes duplicated code and improves readability Change-Id: Ie04e1f247540babd6a840b860f2acb602f5e831d Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger engine types: Add note about keeping compatibilityEike Ziller2014-10-281-0/+2
| | | | | Change-Id: I8f5723d53fcfb454eca8abf55a0720f12b0423d0 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
* Debugger: Fix crash after creator shutdownDavid Schulz2014-10-281-1/+1
| | | | | Change-Id: I5dd95571092c9b2a9a489b87d3cd4a641b337745 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: Fix attach external application.David Schulz2014-10-281-4/+2
| | | | | Change-Id: I61660a3632328ddf87f5689dea00e8c132c5636c Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: notify engine if remote process finishes on androidUlf Hermann2014-10-241-0/+2
| | | | | | | | This prevents inconsistent state and error messages if the USB cable is removed while the application is waiting on a breakpoint. Change-Id: I769dc5fda2775e69365d8d8a5151e67c53e3237f Reviewed-by: hjk <hjk121@nokiamail.com>
* Debugger: Replace debuggerCore() by equivalent free functionshjk2014-10-2320-244/+255
| | | | | | | | One indirection less on the user code side, and easier to export if needed (partially addressing QTCREATORBUG-13187) Change-Id: I13ab9f471a3a34da7a6331aefc83f6d02413bfab Reviewed-by: David Schulz <david.schulz@digia.com>
* Remove KitInformationMacroExpanderhjk2014-10-231-1/+0
| | | | | | | Neither used nor needed anymore. Change-Id: I5f55af10eb5fe8aa4109c1fe0fc9f764f51c6b4a Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Fix MSVC2010 compilationOrgad Shaneh2014-10-231-1/+1
| | | | | | | Broken in cabf14ba3003e57cce2917f8fad50a09d3967f43 Change-Id: I83da1254ceb4636f2b75f5ef75c9f790fd13f140 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Debugger: Use Qt5-style connects in DebuggerKitConfigWidgethjk2014-10-223-12/+14
| | | | | Change-Id: I1cac24387cc74ade9113b4ecbe503871e9c6150b Reviewed-by: hjk <hjk121@nokiamail.com>
* Capitalize macro nameshjk2014-10-221-1/+1
| | | | | Change-Id: I6492d625ede6c4425e5dd4b6f19a327f1931f64c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Debugger: Remove the special do-nothing-if-not-moved far enoughhjk2014-10-222-35/+10
| | | | | | | The problem are tooltips not triggering, not triggering too often. Change-Id: I707f3c5014bde310e778c6c4d604aeb4e5b8f7c3 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Make expanders work with subexpandershjk2014-10-212-9/+7
| | | | | Change-Id: I30bad85ce2fbaf1f02043b3d97f657461f5a1995 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Debugger: Go back to normal after attempting to kill GDBhjk2014-10-211-0/+2
| | | | | | | Task-number: QTCREATORBUG-13044 Change-Id: I2610136b1d5c4c2d55d13b378156d382ab6f73cc Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Debugger: Move RunControl creation helper code to debuggerruncontrol.cpphjk2014-10-216-145/+167
| | | | | | | No change in functionality. Change-Id: Ib948a788cdfdd9f8911c206df71ff2d20888c9d7 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: Consolidate RunControl creationhjk2014-10-2015-148/+82
| | | | | | | Export factory, de-export plugin, to remove one indirection Change-Id: I13a46460d07d5ded6b26f2b5ceccd01142fb10e8 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: Remove messaging indirection in DebuggerRunControlhjk2014-10-174-22/+16
| | | | | | | The base functionality is good enough. Change-Id: Ie39398828733245e0e74ca9a2941c069116014f0 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: Remove DebuggerRunControl::runConfigurationhjk2014-10-172-10/+0
| | | | | | | This needlessly duplicates parts of the base class. Change-Id: I2070cdfeb389cf90554eaa597c716d1049186be5 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: Move more RunControl setup to factoryhjk2014-10-172-79/+50
| | | | | | | Reasons mentioning S60DebugControl do not apply anymore. Change-Id: Id7686ab90f2c25492685eb655403ed369bf99ee4 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Debugger: Don't issue monitor commands for local debugginghjk2014-10-172-1/+4
| | | | | Change-Id: I8a81ae78a279b6f5cc354dde3ba0814b3a650d06 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Debugger: Make WatchDelegate less dependent on WatchViewhjk2014-10-171-6/+3
| | | | | Change-Id: I07c1c22d1dfa9323a2fed8938c4fe53d1a534e90 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* MacroExpander: Fall back to global expanderhjk2014-10-163-7/+6
| | | | | | | ... and use that all over the place. Change-Id: Ie6e0ed0f0d9eaba9b4466761e6b455f33a905086 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Debugger: Display parsed gdb version in build&run debugger listhjk2014-10-164-2/+39
| | | | | Change-Id: Ie7ec35f2f282f7f5ed527253c64c19e2b9347b18 Reviewed-by: hjk <hjk121@nokiamail.com>
* License update.Eike Ziller2014-10-151-1/+1
| | | | | Change-Id: I0acde2c3b995693de682679471f03af85bdd0a61 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* CDB: Make it possible to kill the cdb...David Schulz2014-10-152-0/+14
| | | | | | | | | | | ...when the cdb got hung up. Handle abort like in almost any debugger engine, first kindly ask to quit. If this doesn't work kill the debugger process. Task-number: QTCREATORBUG-13173 Change-Id: I1ddc98b1ffe00342c96d104c16099b500e52bc07 Reviewed-by: hjk <hjk121@nokiamail.com>
* VariableChooser: Reworkhjk2014-10-156-14/+16
| | | | | | | | | | Allow multiple expanders to be registered for lineedits, e.g. a local and the global ones, and actually show them. Use a tree view in the chooser for somewhat more structured display. Change-Id: I769f92144e5249f45e54381de52aa6973eb20118 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* MacroExpander: Allow registering local expansionshjk2014-10-156-16/+14
| | | | | | | | | | | This allows a MacroExpander also to describe an expansion it can do which was restricted to the global VariableManager only. The global is now just a thin (unneeded) wrapper about new "standard" functionality. Change-Id: Ida7ca70cf3d319eae4220ea8d12f3dd1c0d4042c Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Debugger: Remove unused values from DebuggerStartModeOrgad Shaneh2014-10-144-40/+2
| | | | | Change-Id: I84ec3dea504e51bb925c925564aa9b5c84133fbf Reviewed-by: hjk <hjk121@nokiamail.com>
* Merge remote-tracking branch 'origin/3.2'Eike Ziller2014-10-14185-1295/+1480
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/ipaddresslineedit.cpp src/libs/utils/logging.h src/plugins/analyzerbase/AnalyzerBase.pluginspec.in src/plugins/android/Android.pluginspec.in src/plugins/android/androiddeploystep.cpp src/plugins/android/androiddeploystep.h src/plugins/android/androiddeploystepfactory.cpp src/plugins/android/androiddeploystepwidget.cpp src/plugins/android/androidpackagecreationfactory.cpp src/plugins/android/androidpackagecreationstep.cpp src/plugins/android/androidpackagecreationstep.h src/plugins/android/androidpackagecreationwidget.cpp src/plugins/android/androidpackagecreationwidget.h src/plugins/android/javafilewizard.cpp src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/baremetal/BareMetal.pluginspec.in src/plugins/bazaar/Bazaar.pluginspec.in src/plugins/beautifier/Beautifier.pluginspec.in src/plugins/bineditor/BinEditor.pluginspec.in src/plugins/bookmarks/Bookmarks.pluginspec.in src/plugins/clangcodemodel/ClangCodeModel.pluginspec.in src/plugins/clangcodemodel/clanghighlightingsupport.cpp src/plugins/clangcodemodel/clangsymbolsearcher.cpp src/plugins/classview/ClassView.pluginspec.in src/plugins/clearcase/ClearCase.pluginspec.in src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec.in src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp src/plugins/cmakeprojectmanager/cmakehighlighter.cpp src/plugins/coreplugin/Core.pluginspec.in src/plugins/cpaster/CodePaster.pluginspec.in src/plugins/cppeditor/CppEditor.pluginspec.in src/plugins/cppeditor/cppfilewizard.cpp src/plugins/cpptools/CppTools.pluginspec.in src/plugins/cpptools/cpphighlightingsupportinternal.cpp src/plugins/cpptools/cppmodelmanagerinterface.cpp src/plugins/cpptools/cppmodelmanagerinterface.h src/plugins/cvs/CVS.pluginspec.in src/plugins/debugger/Debugger.pluginspec.in src/plugins/designer/Designer.pluginspec.in src/plugins/diffeditor/DiffEditor.pluginspec.in src/plugins/emacskeys/EmacsKeys.pluginspec.in src/plugins/fakevim/FakeVim.pluginspec.in src/plugins/genericprojectmanager/GenericProjectManager.pluginspec.in src/plugins/git/Git.pluginspec.in src/plugins/git/gitorious/gitorious.cpp src/plugins/git/gitorious/gitorious.h src/plugins/git/gitorious/gitoriousclonewizard.cpp src/plugins/git/gitorious/gitorioushostwidget.cpp src/plugins/git/gitorious/gitorioushostwidget.h src/plugins/git/gitorious/gitorioushostwizardpage.cpp src/plugins/git/gitorious/gitoriousprojectwidget.cpp src/plugins/git/gitorious/gitoriousprojectwidget.h src/plugins/git/gitorious/gitoriousprojectwizardpage.cpp src/plugins/git/gitorious/gitoriousprojectwizardpage.h src/plugins/git/gitorious/gitoriousrepositorywizardpage.cpp src/plugins/git/gitorious/gitoriousrepositorywizardpage.h src/plugins/glsleditor/GLSLEditor.pluginspec.in src/plugins/glsleditor/glsleditorfactory.cpp src/plugins/glsleditor/glslfilewizard.cpp src/plugins/helloworld/HelloWorld.pluginspec.in src/plugins/help/Help.pluginspec.in src/plugins/imageviewer/ImageViewer.pluginspec.in src/plugins/ios/Ios.pluginspec.in src/plugins/macros/Macros.pluginspec.in src/plugins/mercurial/Mercurial.pluginspec.in src/plugins/perforce/Perforce.pluginspec.in src/plugins/projectexplorer/ProjectExplorer.pluginspec.in src/plugins/pythoneditor/PythonEditor.pluginspec.in src/plugins/pythoneditor/pythoneditorwidget.cpp src/plugins/pythoneditor/wizard/pythonfilewizard.cpp src/plugins/qbsprojectmanager/QbsProjectManager.pluginspec.in src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp src/plugins/qmakeprojectmanager/QmakeProjectManager.pluginspec.in src/plugins/qmakeprojectmanager/profileeditorfactory.cpp src/plugins/qmldesigner/QmlDesigner.pluginspec.in src/plugins/qmljseditor/QmlJSEditor.pluginspec.in src/plugins/qmljseditor/qmljseditorfactory.cpp src/plugins/qmljstools/QmlJSTools.pluginspec.in src/plugins/qmlprofiler/QmlProfiler.pluginspec.in src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec.in src/plugins/qnx/Qnx.pluginspec.in src/plugins/qtsupport/QtSupport.pluginspec.in src/plugins/remotelinux/RemoteLinux.pluginspec.in src/plugins/resourceeditor/ResourceEditor.pluginspec.in src/plugins/resourceeditor/resourcewizard.h src/plugins/subversion/Subversion.pluginspec.in src/plugins/tasklist/TaskList.pluginspec.in src/plugins/texteditor/TextEditor.pluginspec.in src/plugins/texteditor/basetexteditor_p.h src/plugins/texteditor/basetextmark.cpp src/plugins/texteditor/codeassist/basicproposalitemlistmodel.h src/plugins/texteditor/codeassist/defaultassistinterface.h src/plugins/texteditor/codeassist/iassistproposalitem.cpp src/plugins/texteditor/itexteditor.cpp src/plugins/texteditor/itexteditor.h src/plugins/texteditor/itextmark.cpp src/plugins/texteditor/plaintexteditor.cpp src/plugins/texteditor/plaintexteditor.h src/plugins/texteditor/texteditoractionhandler.cpp src/plugins/todo/Todo.pluginspec.in src/plugins/updateinfo/UpdateInfo.pluginspec.in src/plugins/valgrind/Valgrind.pluginspec.in src/plugins/vcsbase/VcsBase.pluginspec.in src/plugins/welcome/Welcome.pluginspec.in src/plugins/winrt/WinRt.pluginspec.in tests/auto/debugger/temporarydir.h Change-Id: I254af8be8119fe9855287909e17d4b8ca9d2fc2f
| * License updateEike Ziller2014-10-09186-1297/+1482
| | | | | | | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* | Utils: Move MacroExpander to file pair of its ownhjk2014-10-131-0/+1
| | | | | | | | | | Change-Id: I777accd58dafca39a0d3e50541af325277c49c6b Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* | TextEditor: Move some enums to namespace scopehjk2014-10-131-3/+3
| | | | | | | | | | | | | | In preparation for the final s/BaseTextEditor/TextEditor. Change-Id: Ie18db9817ec9eec53d805443605ca55423c64c93 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* | Debugger: Add an macro expander for debugger engine typehjk2014-10-102-2/+18
| | | | | | | | | | Change-Id: Ib16f3b410ea83f6a4687b03677c51fbec26165d7 Reviewed-by: hjk <hjk121@nokiamail.com>
* | Re-introduce option to toggle FancyMainWindow auto-hidinghjk2014-10-092-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1541fbd2ba8e9d3c12ebdea74453e7e597d961d5 in parts. The title bars can now always be shown (the same state as the old "Unlocked" state) or not always be shown (the previously "new" behavior). The default is now "Always shown". Hopefully that makes hiding the titlebars a conscious (usually one-time) activity that's not forgotten. Change-Id: Id31fb193b2eb6376000c845d4a61194e2ed33129 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* | Debugger: Support gdbservers that don't have --once againhjk2014-10-061-0/+1
| | | | | | | | | | | | | | | | There are too many setup without support for --once. Change-Id: I172b8b8d58a3960d9d93b48e692e612b7627ba56 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Tim Sander <tim@krieglstein.org>
* | TextEditor: Make mark requests operate on widgets, not editorhjk2014-10-021-26/+21
| | | | | | | | | | | | | | Removes some widget->editor->signal->slot->widget indirection. Change-Id: I7951d62ad3b7477e4693798d85c53c932b86c95e Reviewed-by: David Schulz <david.schulz@digia.com>
* | Debugger: Fix wrong display of \r and \nOrgad Shaneh2014-09-291-3/+3
| | | | | | | | | | | | | | | | | | 10 is \n and 13 is \r... This partially reverts commit caca06adbdb8dedf9da8f31e5b990329b9793960. Change-Id: I6b8cba940213c1f5acb7737c3c99646db0f5699f Reviewed-by: hjk <hjk121@nokiamail.com>
* | TextEditor: Rename BaseTextEditorWidget to TextEditorWidgethjk2014-09-2923-45/+45
| | | | | | | | | | | | | | ... and some of the related implementation details Change-Id: I1f03aa5acf2d3fb2cfc2a6a7845f3d3578b0408d Reviewed-by: David Schulz <david.schulz@digia.com>
* | QML Debugger: prevent possible nullptr deref.Erik Verbruggen2014-09-291-1/+1
| | | | | | | | | | Change-Id: I9a3766665bae737a15aac18900185edb2c0ad87b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Debugger: Remove unused fix cdb integer functionshjk2014-09-292-44/+0
| | | | | | | | | | Change-Id: I60e379fdc36f67fdd8fc2d0d440ed41a82374f97 Reviewed-by: David Schulz <david.schulz@digia.com>