Run Valgrind tools on external applications | Qt Creator Documentation

- Qt Creator Documentation
- Run Valgrind tools on external applications
- Qt Creator 19.0.0

Profile function execution ◦ Set global preferences for Clang tools

# Run Valgrind tools on external applications

With Valgrind's Tool Suite, you can detect memory leaks and profile function execution.

To run the Valgrind tools to analyze external applications for which you do not have a Qt Creator project:

1. Go to Analyze > Valgrind Memory Analyzer (External Application) or Valgrind Function Profiler (External Application).

2. Select the application to run and analyze, as well as the kit to use.

See also Detect memory leaks with Memcheck, Profile function execution, Managing kits, Specify Valgrind settings for a project, Valgrind Callgrind, and Valgrind Memcheck.

Profile function execution ◦ Set global preferences for Clang tools