실행 중인 애플리케이션에 디버거 연결하기

로컬 또는 원격 컴퓨터에서 이미 실행 중인 애플리케이션에 디버거를 연결하려면 다음과 같이 하세요:

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

    실행 중인 애플리케이션에 연결 대화 상자

  2. Filter 에 문자열을 입력하여 프로세스 ID 또는 이름으로 프로세스를 필터링합니다.
  3. 목록에서 프로세스를 선택한 다음 Attach to Process 을 선택하여 디버깅을 시작합니다.

실행 중인 프로세스 목록을 새로 고치려면 Update List 을 선택합니다.

선택한 프로세스를 종료하려면 Kill Process 을 선택합니다.

이 모드를 사용하기 위해 반드시 Qt Creator 에서 프로젝트를 열어야 하는 것은 아니지만 프로젝트를 열면 중단점을 설정하고 코드를 더 쉽게 살펴볼 수 있습니다.

디버거를 애플리케이션에 연결하기 전이나 후에 중단점을 지정할 수 있습니다. 자세한 내용은 중단점 설정하기를 참조하세요.

방법: 디버그, 디버깅, 디버거디버거도참조하세요 .

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.