diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2023-06-20 16:24:07 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2023-06-21 07:03:10 +0000 |
commit | ff856ed03014294d51eafc9f4d2b45a6f6feedfe (patch) | |
tree | 2846436b077889fe70e3afe970b6137dd2655ea0 /doc/qtcreator/src/debugger | |
parent | 933d9223c9f6fba861c1ad393ba3a47602a32f72 (diff) |
Doc: Describe changes in enabling mixed C++/QML debugging
The check boxes are now combo boxes with several options.
Task-number: QTCREATORBUG-28996
Change-Id: Ib3ba3abb5c307b4fecffd267084bb2bd4057add9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'doc/qtcreator/src/debugger')
-rw-r--r-- | doc/qtcreator/src/debugger/qtquick-debugging.qdoc | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/doc/qtcreator/src/debugger/qtquick-debugging.qdoc b/doc/qtcreator/src/debugger/qtquick-debugging.qdoc index c0246fc7b6..739095b5a0 100644 --- a/doc/qtcreator/src/debugger/qtquick-debugging.qdoc +++ b/doc/qtcreator/src/debugger/qtquick-debugging.qdoc @@ -42,9 +42,11 @@ \section2 Debugging Qt Quick UI Projects \endif - To debug Qt Quick UI projects (.qmlproject), select the - \uicontrol {Enable QML} check box in \uicontrol {Debugger settings} - in \uicontrol Projects mode \uicontrol {Run Settings}. + To debug Qt Quick UI projects (.qmlproject), select \uicontrol Automatic + or \uicontrol Enabled in \uicontrol{Run Settings} > + \uicontrol {Debugger Settings} > \uicontrol {QML debugger}. + + \image qtquick-debugger-settings.webp {Debugger settings section in Run Settings} \if defined(qtcreator) \section2 Debugging Qt Quick Applications @@ -65,9 +67,13 @@ functions. Therefore, you must make sure that the port is properly protected by a firewall. - \li In \uicontrol {Run Settings} > \uicontrol {Debugger settings}, select - the \uicontrol {Enable QML} check box to enable QML debugging for - running applications. + \li In \uicontrol {Run Settings} > \uicontrol {Debugger settings} > + \uicontrol {QML debugger}, select \uicontrol Automatic or + \uicontrol Enabled to enable QML debugging for running applications. + + To debug both the C++ and QML parts of your application at the same + time, also select \uicontrol Automatic or \uicontrol Enabled in + \uicontrol {C++ debugger}. \li Select \uicontrol Build > \uicontrol {Rebuild Project} to clean and rebuild the project. @@ -119,17 +125,8 @@ For example, for qmake the global setting only affects build configurations that are automatically created when enabling a kit. Also, CMake ignores the global setting. - - \section1 Mixed C++/QML Debugging - - To debug both the C++ and QML parts of your application at the same time, - select the \uicontrol {Enable C++} and \uicontrol {Enable QML} checkboxes for both - languages in the \uicontrol {Debugger Settings} section in the project - \uicontrol{Run Settings}. \endif - \image qtquick-debugging-settings.png {Debugger settings section in Run Settings} - \section1 Starting QML Debugging To start the application, choose \uicontrol Debug > \uicontrol {Start Debugging} |