Rozpocznij debugowanie z wiersza poleceń

Z poziomu wiersza poleceń można korzystać z interfejsu debuggera Qt Creator. Aby podłączyć go do uruchomionego procesu, należy podać identyfikator procesu jako parametr opcji -debug. Aby zbadać plik core, podaj nazwę pliku. Polecenie ` Qt Creator ` wykonuje wszystkie niezbędne czynności, takie jak wyszukiwanie pliku binarnego, do którego należy plik core. Aby połączyć się z serwerem debugowania, podaj lokalizację serwera i numer portu.

Na przykład:

  • C:\qtcreator\bin>qtcreator -debug 2000
  • C:\qtcreator\bin>qtcreator -debug core=core.2000
  • C:\qtcreator\bin>qtcreator -debug some.exe,core=core
  • C:\qtcreator\bin>qtcreator -debug server=some.dot.com:4251

Zobacz też : Jak: Debugowanie, Debugowanie, Debugery i Opcje wiersza poleceń.

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.