Depurar archivos de proyecto CMake

Con la implementación de Qt Creator del Protocolo de Adaptador de Depuración (DAP), puedes depurar archivos de proyecto de CMake.

Nota: Se necesita CMake 3.27 o posterior para DAP.

Para depurar archivos de proyecto de CMake:

  1. En el modo « Edit », establece puntos de interrupción en un archivo CMake.
  2. Ve a « Debug » > « Start Debugging » > « Start CMake Debugging ».

    Vista «DAP CMake Preset» en modo depuración

Cuando la aplicación se detenga en un punto de interrupción, podrás examinar los datos en las vistas del modo « Debug ».

Véase también «Cómo: Depurar», «Depuración», «Depuradores» y «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.