CMakeプロジェクトファイルのデバッグ
Qt Creator によるデバッグ・アダプタ・プロトコル(DAP)の実装を使用すると、CMakeプロジェクトファイルのデバッグが可能です。
注: DAP を使用するには、CMake 3.27 以降が必要です 。
CMake プロジェクトファイルをデバッグするには:
- Edit モードで、CMakeファイルにブレークポイントを設定します。
- 「Debug 」>「Start Debugging 」>「Start CMake Debugging 」に移動します。

アプリケーションがブレークポイントで停止したら、Debug モードのビューでデータを調べることができます。
「ハウツー:デバッグ」、「デバッグ」、「デバッガ」、および「CMake」も参照してください 。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.