외부 애플리케이션에서 Valgrind 도구 실행

Valgrind의 도구 제품군을 사용하면 메모리 누수를 감지하고 함수 실행을 프로파일링할 수 있습니다.

Qt Creator 프로젝트가 없는 외부 애플리케이션을 분석하기 위해 Valgrind 도구를 실행하려면 다음과 같이 하세요:

  1. Analyze > Valgrind Memory Analyzer (External Application) 또는 Valgrind Function Profiler (External Application) 로 이동합니다.

    원격 분석 시작 대화 상자

  2. 실행 및 분석할 애플리케이션과 사용할 키트를 선택합니다.

Memcheck로 메모리 누수 감지, 프로필 함수 실행, 키트, 프로젝트에 대한 Valgrind 설정 지정, Valgrind CallgrindValgrind 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.