CMake-projektfájlok hibakeresése

A Debug Adapter Protocol (DAP) „ Qt Creator ” megvalósításával hibakeresést végezhet CMake-projektfájlokban.

Megjegyzés: A DAP használatához CMake 3.27 vagy újabb verzióra van szükség.

CMake-projektfájlok hibakeresése:

  1. Edit módban állítson be töréspontokat egy CMake-fájlban.
  2. Lépjen az „ Debug ” > „ Start Debugging ” > „ Start CMake Debugging ” menüpontra.

    A DAP CMake-beállítások nézete hibakeresési módban

Amikor az alkalmazás megáll egy töréspontnál, megvizsgálhatja az adatokat a „ Debug ” mód nézeteiben.

Lásd még : Hogyan kell: hibakeresés, hibakeresés, hibakeresők és 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.