In order to get line numbers when using Valgrind to debug Python
extensions written in c/c++ you need to compile the extension with both the
-O0
and the -g
flags.
In order to get line numbers when using Valgrind to debug Python
extensions written in c/c++ you need to compile the extension with both the
-O0
and the -g
flags.