시작 프로세스에 디버거 연결

디버거가 애플리케이션 프로세스를 감시하고 시작 시 해당 프로세스에 연결하도록 지시하려면 다음과 같이 하십시오:

  1. Debug > Start Debugging > Attach to Unstarted Application 로 이동합니다.

    시작되지 않은 애플리케이션에 연결 대화 상자

  2. Kit 에서 프로젝트 빌드에 사용할 빌드 및 실행 키트를 선택합니다.
  3. Executable 에서 애플리케이션 실행 파일의 경로를 지정합니다.
  4. 애플리케이션이 닫히면 Reopen dialog when application finishes 을 선택하여 이 대화 상자로 돌아갑니다.
  5. Continue on attach 을 선택하여 디버거에 애플리케이션을 연결한 후에도 계속 실행하도록 디버거에 지시합니다.
  6. Start Watching 을 선택하여 애플리케이션 프로세스가 시작될 때까지 기다립니다.

프로젝트에 대한 키트 활성화하기, 방법: 디버그, 디버깅, 디버거디버거도참조하세요 .

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.