명령줄에서 디버깅 시작하기

명령줄에서 Qt Creator 디버거 인터페이스를 사용할 수 있습니다. 실행 중인 프로세스에 연결하려면 -debug 옵션의 매개변수로 프로세스 ID를 지정하세요. 핵심 파일을 검사하려면 파일 이름을 지정합니다. Qt Creator 은 핵심 파일에 속하는 바이너리를 검색하는 등 필요한 모든 단계를 실행합니다. 디버그 서버에 연결하려면 서버 위치와 포트 번호를 지정합니다.

예를 들어

  • 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

방법: 디버그, 디버깅, 디버거, 디버거명령줄 옵션도참조하세요 .

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.