Valgrind
This documentation is not finished. Please help and contribute documentation.
GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.
See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.
Introduction
Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. This wiki page will document using valgrind to detect memory management issues withing FreeCAD.
Prerequisites
- Linux or macOS (supported platforms)
- Valgrind (installed through a package manager or manually)
- Relatively powerful machine
- Ample RAM and hard disk space
Usage
Discussion
- Forum thread discussion
Related
- gcc address santizers are another option. Apparently the error message output is very clear.