Compiling MariaDB for Debugging
Explains how to build the MariaDB source code with specific flags enabled to allow for deep-level internal debugging.
Compiling MariaDB for Debugging Using the CMAKE_BUILD_TYPE Option
CMAKE_BUILD_TYPE Optioncmake -DCMAKE_BUILD_TYPE=Debug source_directorycmake --build .Building Optimized Build With Debug Symbols
cmake -DCMAKE_CXX_COMPILE_FLAGS='-Og -g3' -DCMAKE_C_COMPILE_FLAGS='-Og -g3' source_directorycmake --build .Doing a Debug Build on Debian/Ubuntu
Temporarily Installing your Debug Build
Reinstalling your Release Build
Different Compilation Options
Changing DBUG_ASSERT to Print to Error Log
See Also
Last updated
Was this helpful?

