Better_Software_Header_MobileBetter_Software_Header_Web

Find what you need - explore our website and developer resources

How to use helgrind to debug multithreaded Qt applications

Finding thread race conditions in Qt applications

valgrind --tool=helgrind myapplication
cd ~
git clone https://invent.kde.org/sdk/kde-dev-scripts.git
export VALGRIND_OPTS="--num-callers=50 --suppressions=$HOME/kde-dev-scripts/kde.supp"
alias helgrind="QT_NO_GLIB=1 valgrind --tool=helgrind --track-lockorders=no"

5 Comments

30 - Oct - 2014

Neil

30 - Oct - 2014

dfaure

5 - Nov - 2014

Neil

5 - Nov - 2014

dfaure

9 - Apr - 2024

Paul Floyd

DavidFaure

David Faure

Senior Software Engineer

Learn Modern C++

Learn more