summaryrefslogtreecommitdiff
path: root/tests/manual/debugger
Commit message (Collapse)AuthorAgeFilesLines
* Debugger: Fix manual plugin testRobert Löhning2023-03-131-1/+1
| | | | | | | | | | | The location of the dll doesn't depend on the application's current directory but its binary's location. This caused the manual test to turn false positive when running from Creator, because on Windows, the binaries are placed in a subdirectory named "debug" or "release", respectively. Change-Id: Ie5115fbacd30ad0ef85bc258d405ae3ac42f8ece Reviewed-by: hjk <hjk@qt.io>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-0614-14/+14
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-2614-336/+28
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Tests: Do not use config mode when searching for Eigen3Christian Stenger2022-08-231-2/+2
| | | | | Change-Id: I144481821267b80404473d821ac1048ff3adeac3 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Adapt to move of options to Edit > PreferencesEike Ziller2022-06-281-1/+1
| | | | | Change-Id: I6881f658db9eec5059b434bce12093667535d5ac Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Debugger: Make one manual test deployable to remote linuxhjk2022-06-201-0/+7
| | | | | Change-Id: Ia61926353e93ae394d3eb2082bb92769967cd958 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* qbs build: Fix building with MSVC and Qt >= 6.3Christian Kandeler2022-06-173-0/+3
| | | | | Change-Id: I59439217575bdcc170f38382129fa5f13edb23e2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Make manual test easier compile with Qt 6hjk2022-05-161-0/+4
| | | | | Change-Id: I2623a45fea4ac3ddad2790cbd34852891a9d73b4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Tests: Provide some cmake files for manual testsChristian Stenger2022-02-153-0/+91
| | | | | | | | | | | | Add another option to mark a test as manual and use this for some existing. Manual tests will not be added as a ctest, but they can still get executed explicitly. Beside this allow to use a condition when using add_qtc_test(). Change-Id: I03d5397db36c0a2c9ee506a4214ed68fae6ad6e7 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Tests: Provide qbs files for some manual testsChristian Stenger2022-02-034-0/+115
| | | | | | Change-Id: I6c5c839dc199379edaf4c43ae4d6a0ed6ebdf751 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Simple test app: Fix locationChristian Stenger2022-02-021-1/+1
| | | | | | | | The location had been correct with qmake, but is wrong with qbs and cmake. Change-Id: I967f6db60e084dbc98548d61bb6eddbac4f7be24 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Debugger: Add a "Char Code Integer"hjk2022-01-031-0/+20
| | | | | | | Fixes: QTCREATORBUG-22849 Change-Id: Id601eb5cbe1211cff595f04b5910a21f1ba33128 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Debugger: Tests: Fix warningsRobert Löhning2021-10-071-3/+8
| | | | | | | To not confuse testers. Change-Id: I2190e85cea5b0e32af883d8caa368aef0f55befc Reviewed-by: hjk <hjk@qt.io>
* Debugger: Mark elision of long QUrls in Locals and Expressionshjk2021-03-021-1/+3
| | | | | | Fixes: QTCREATORBUG-25404 Change-Id: Ieee42f9239c9ffe88da03765678e1d2c4b6bb11d Reviewed-by: David Schulz <david.schulz@qt.io>
* Debugger: Add some manual test to check console interactionhjk2021-02-172-0/+65
| | | | | Change-Id: I02a87657f5be1c4ba8ab8921d0d015a8f34df0af Reviewed-by: David Schulz <david.schulz@qt.io>
* Debugger: Fix compilation of manual dumper test with Qt 6hjk2020-12-022-13/+10
| | | | | | Task-number: QTCREATORBUG-24098 Change-Id: Id835f4d9ac85e701cc57290e686f17a57ee221e2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Test: Debugger: Gui: Compile fix for Qt6Robert Loehning2020-12-011-1/+1
| | | | | Change-Id: I9c3c4b49e458c16115fead38255cfe197308916b Reviewed-by: hjk <hjk@qt.io>
* Debugger: Fix some instructions in manual testshjk2020-11-021-4/+10
| | | | | | | | Compilers are getting better at removing unused code. Task-number: QTCREATORBUG-24819 Change-Id: I8a677a4057312e9581e520ceae9ae63a2dc8bc43 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Compile manual test with Qt 6hjk2020-08-311-2/+2
| | | | | | Task-number: 24098 Change-Id: I9fdaf913a0ed2017460ba8d4f63c94a1d62b0062 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Tests: Replace QRegExp by QRegularExpressionChristian Stenger2020-07-201-1/+6
| | | | | | Task-number: QTCREATORBUG-24098 Change-Id: I8649423fc69faadad324bc3bb51004633fa7cc4d Reviewed-by: hjk <hjk@qt.io>
* Debugger: Remove QLinkedList occurrences from manual testshjk2020-06-182-110/+0
| | | | | | | | And restrict the auto test to Qt<6. Task-number: QTCREATORBUG-24098 Change-Id: Idfbe94bc1a4b2d5a8c23a07a031520775bb17cd3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Update references to Locals and ExpressionsRobert Loehning2020-04-091-2/+2
| | | | | | | | These are two separate views now Change-Id: I010ad0b937982704310d102d1f4338ec0c29a370 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Ensure that null dereference in test is not optimized awayFawzi Mohamed2020-02-271-1/+2
| | | | | Change-Id: Icf8eb894a8277353448f46b18d5d6614be1d2350 Reviewed-by: hjk <hjk@qt.io>
* Tests: Fix compileChristian Stenger2019-07-231-1/+1
| | | | | Change-Id: Ie6e1230177cc11f4f3ab545f10c2c144ef316d3a Reviewed-by: hjk <hjk@qt.io>
* Avoid warning on empty expressionshjk2019-07-231-5/+5
| | | | | | | | For some reason, Q_UNUSED includes already a semicolon, adding one on the user side creates an additional empty statement. Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Use DebugBreak() to interrupt in simple testDavid Schulz2019-06-191-2/+1
| | | | | | Change-Id: Ia15fc8c780b53f1b84af16a172af79b3145e9c39 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Replace uses of qVariantFromValue with QVariant::fromValuehjk2019-05-271-1/+1
| | | | | | | | Deprecated in Qt 5.14, alternative has been around since Qt 4 at least. Change-Id: I4e3a53c289088368609e0d0ce2405a832d311308 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Remove excess blank lines after namespaceOrgad Shaneh2019-05-271-2/+0
| | | | | Change-Id: I4e4f83017f2bfc2cf842c4c971ed4b05e0447e6a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Add Qt for Python templates and better supportCristian Maureira-Fredes2019-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtCreator: * Add new icons * Add support for `.pyproject` files, * Set `.pyproject` as default, but keep compatibility with `.pyqtc` * `.pyproject` is a JSON file, while `.pyqtc` is a plain-text. Python class: * Add option to ask if use PySide2 or PyQt5 * Remove the old import try-except structure * Remove iconText and add icon option * Remove shebang * Add utf-8 support Python file: * Remove code * Remove iconText and add icon option * Remove shebang * Add utf-8 support Qt for Python - Empty * Add file with basic statements to execute a QApplication Qt for Python - Window * Add file with basic statements to execute a QApplication, which contains a QMainWindow Task-number: QTCREATORBUG-21824 Change-Id: I4adb3ab6b179f084c7b674a6d4f643445fe24929 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: Replace module polling in gdb by handling notificationshjk2018-08-301-0/+1
| | | | | | | | Explicit polling is still available and accessible as fall back in the gui, but is at least in theory not necessary anymore. Change-Id: Ifd184fb88bdbf5de53f5776e2c94a03f8ad44a06 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Revert "Windows: Match the name case of included files"Orgad Shaneh2018-07-193-3/+3
| | | | | | | | | It breaks cross-compilation on linux/mingw. This reverts commit 1c014ed3d9256df0330338b34f1c710efa962cf8. Change-Id: I3e8183ec318541a4393ad242eefbdeaa78b7be44 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Windows: Match the name case of included filesAlessandro Portale2018-07-123-3/+3
| | | | | | | | | | | Although Windows is case insensitive, and lower case always works, Clang complains: Lexical or Preprocessor Issue: warning: non-portable path to file '<FooBar.h>'; specified path differs in case from file name on disk Change-Id: I8f94e9fb62f6afec8aa6b9d08a7c78f6ba8a4435 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Tests: Add lines for testing editing and output of intRobert Loehning2018-07-031-0/+2
| | | | | Change-Id: If31b5957fa55f5dd31205a0b4495491314fa87c0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: port python debug test to python 3David Schulz2017-10-241-5/+5
| | | | | Change-Id: I1e546b8c151f59432292118a0a6b4d913196e79b Reviewed-by: hjk <hjk@qt.io>
* Tests: Fix instructions to testersRobert Loehning2017-08-151-3/+3
| | | | | Change-Id: Ie22fca7cb68132876f867b57d7e1e5362289e0a4 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Add some hints on how the Python manual test workshjk2017-08-103-1/+6
| | | | | Change-Id: I7a20451739c759510ea2d400493985ae543c6965 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Replace include guards with #pragma onceOrgad Shaneh2017-06-281-4/+1
| | | | | | Change-Id: Ic36cf0e9cac61d4d9a7e4434192944f5301b8aaa Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Tests: Minor cleanup in debugger/simple_test_appOrgad Shaneh2017-05-161-6/+8
| | | | | | | | * Replace double casts with ll suffix, which resolves the warning. * Replace recurring shifts by using a local variable. Change-Id: I344fab50619dc27e68a151abb2f3061543c36662 Reviewed-by: hjk <hjk@qt.io>
* Tests: Add some lines to test editing of strings in debuggerRobert Loehning2017-05-021-0/+9
| | | | | Change-Id: I5178724e693db53ffcd99e3d17c3f6d18da0ef09 Reviewed-by: hjk <hjk@qt.io>
* Tests: Fix warning from MSVC2015Robert Loehning2017-05-021-6/+6
| | | | | Change-Id: Icdf1ffa36ea76d9fb0e6c511924d3e014346776f Reviewed-by: hjk <hjk@qt.io>
* Remove spaces in initializer listsTim Jenssen2017-02-221-13/+13
| | | | | | | Format initializer lists code style like. Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Show raw object data for pixmaphjk2016-10-131-1/+3
| | | | | | | | | "Separate display" can be triggered for QRasterPlatformPixmap on the embeddded QImage. Task-number: QTCREATORBUG-17107 Change-Id: Ib54a6f76f634b0dcf601836dc10609f212581d14 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Use direct memory instead of member accesshjk2016-09-141-4/+10
| | | | | | | | | | | | | | | | | | This introduces a dumper types abstraction layer with classes Dumper.{Value,Type,Field} wrapping either gdb.{Value,Type,Field} or lldb.{SBValue,SBType,SBField} and uses it to move to more direct memory accesses in the dumper implementation. This way we can use duck typing for artificial intermediate objects eliminating the need for {gdb.Value,lldb.SBValue}.cast() in some case which are flaky in general and typically not available in release builds. As consequence QRegion and QVariant dumper work without debug info now. Change-Id: Iea2411175ef67f2bf651ee7eaade9879ed5ceba1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: include <qglobal.h> in testshjk2016-08-231-0/+2
| | | | | | | Needed to check QT_VERSION later. Change-Id: If0ee987102ddd3ac737a61a2a5e91825270568c2 Reviewed-by: David Schulz <david.schulz@qt.io>
* enable c++11 really globallyOswald Buddenhagen2016-08-021-2/+0
| | | | | | | | | ... and remove all instances that became redundant now. this excludes everything that comes from outside qtc, or looks like it could "leave" it. Change-Id: Idc8baad17cd1ffdc5e160ec48ea3292d633a2562 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Add dumper for QMeta{Enum,Method,Property}hjk2016-07-151-1/+26
| | | | | | Task-number: QTCREATORBUG-16593 Change-Id: Iaa710660d8ef69459596f93831cf8467913f0468 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Tests: Use Qt5-style connectsOrgad Shaneh2016-06-287-20/+17
| | | | | | | The heavy lifting was done by clazy. Change-Id: If3332a2b4a6d011d2cb74996f5dd750452093f31 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Robustify Qt version extractionhjk2016-06-071-6/+45
| | | | | | Task-number: QTCREATORBUG-15497 Change-Id: I61b52d23e0acf69e2030f8dca2691fbaa6b309ca Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge remote-tracking branch 'origin/4.0'Eike Ziller2016-05-271-0/+39
|\ | | | | | | Change-Id: I80bc3371c6d7cf9f2d46cbcf8e79e4761213d8aa
| * Debugger: Fix dumping of numeric QJsonValue inside arrayshjk2016-05-241-0/+39
| | | | | | | | | | | | Task-number: QTCREATORBUG-16313 Change-Id: I544e89fc964cd404652d8ea0c8df127e51235292 Reviewed-by: Christian Stenger <christian.stenger@qt.io>