Pokrenite otklanjanje pogrešaka s komandne linije

Možete koristiti sučelje otklanjanja pogrešaka Qt Creator s naredbenog retka. Da biste ga priključili na aktivni proces, navedite ID procesa kao parametar za opciju -debug. Za pregled datoteke core, navedite naziv datoteke. Qt Creator izvršava sve potrebne korake, kao što je pretraživanje binarne datoteke koja pripada datoteci core. Za povezivanje s poslužiteljem za otklanjanje pogrešaka, navedite lokaciju poslužitelja i broj priključka.

Na primjer:

  • 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

Vidi također Kako: Debugiranje, Debugiranje, Debugeri i Opcije naredbenog retka.

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.