프로젝트에 대한 Valgrind 설정 지정
키트에 대해 선택한 'Run device'에서 애플리케이션을 실행하기 위한 설정을 지정하려면, ' Projects ' > ' Run Settings'로 이동하십시오.
Valgrind의 Tool Suite를 사용하면 메모리 누수를 감지하고 함수 실행을 프로파일링할 수 있습니다.
현재 프로젝트에 대한 Valgrind 설정을 지정하려면:
- ' Valgrind Settings ' 섹션에서 ' Custom'를 선택합니다.
- 프로젝트에 대한 Valgrind 설정을 지정합니다.

- Valgrind executable 에서 Valgrind 실행 파일의 경로를 지정합니다.
- ' Valgrind arguments'에서 Valgrind에 대한 추가 인수를 지정합니다.
- Detect self-modifying code 에서 자가 수정 코드를 감지할지 여부와 감지 위치를 선택합니다(스택에서만, 모든 곳에서, 파일 백엔드 매핑을 제외한 모든 곳에서).
전역 설정으로 되돌리려면 ‘ Restore Global ’를 선택하십시오.
Valgrind의 전역 설정을 지정하려면 ‘ Preferences ’ > ‘ Analyzer ’를 선택하십시오.
Memcheck을 사용하여 메모리 누수 감지, 함수 실행 프로파일링, 외부 애플리케이션에서 Valgrind 도구 실행, 프로젝트 빌드 및 실행, Valgrind Callgrind 및 Valgrind Memcheck항목도 참조하십시오 .
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.