You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @luzpaz , I would love to contribute if this can help for the valgrind usage (I never used perf btw). Actually, it was my project 3 months ago but I completely stopped. Why ? Because of lack of documentation about how to compile FreeCAD with debug symbols (which ones and how to do it)
do not include which linux packages must be installed with the debug flags
do not show the ccmake options and usage
do not include the compilation of third libraries in debug mode (Coin, OndselSolver, etc.)
do not include QT in debug mode
do not show a full command line compilation dedicated for debug (okay, there is only one for the default install, which is -DCMAKE_BUILD_TYPE=Debug , but still no options or explanation and may only include -g instead of -g3, especially interesting for macros and others features and I still do not know what the Debug mode includes as compiling option)
and all of this make it a mess to currently use valgrind properly.
Otherwise valgrind will be useless by prompting a lot of ?????????? everywhere in the output :(
Also, I would suggest:
add gdb to the tools ?
to create a new CMAKE_BUILD_TYPE build type named Valgrind
to add a Linux debug release in the FreeCAD Weekly Builds page ready for to be use by any user to run the binary with valgrind
Create a new wiki page (on GIT, not yet to be released on Internet) to try to compile FreeCAD with all valgrind options
Footnotes
https://en.wikipedia.org/wiki/Perf_(Linux) ↩
https://valgrind.org/ ↩
The text was updated successfully, but these errors were encountered: