在外部应用程序上运行 Valgrind 工具
使用Valgrind 工具套件,您可以检测内存泄漏并分析函数执行情况。
要运行 Valgrind 工具来分析没有Qt Creator 项目的外部应用程序:
- 访问Analyze >Valgrind Memory Analyzer (External Application) 或Valgrind Function Profiler (External Application) 。
- 选择要运行和分析的应用程序以及要使用的工具包。
另请参阅 "使用 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.