Explorar el Código

Add examples to use valgrind and gdb with python

Samuel Thibault hace 4 años
padre
commit
af06ba720b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      starpupy/examples/execute.sh.in

+ 2 - 0
starpupy/examples/execute.sh.in

@@ -34,5 +34,7 @@ fi
 shift
 
 set -x
+#PYTHONPATH=$pypath LD_LIBRARY_PATH=$modpath PYTHONMALLOC=malloc valgrind --track-origins=yes @PYTHON@ $pythonscript $*
+#PYTHONPATH=$pypath LD_LIBRARY_PATH=$modpath gdb --args @PYTHON@ $pythonscript $*
 PYTHONPATH=$pypath LD_LIBRARY_PATH=$modpath @PYTHON@ $pythonscript $*