CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Valgrind memcheck

Last modified: 11 January 2023

OS: Linux / WSL / macOS (10.12 and older)

Project format: CMake/Makefile/compilation database with custom build targets/Gradle

Toolchain: local / remote/WSL/Docker

Valgrind Memcheck is a tool for detecting memory-usage problems such as leaks, invalid memory access, incorrect freeing, and referencing undefined values.

Valgrind integration in CLion works on Linux, macOS, and Windows with WSL (see Valgrind on WSL).