Forráskód Böngészése

Add examples to use valgrind and gdb with python

Samuel Thibault 4 éve
szülő
commit
af06ba720b
1 módosított fájl, 2 hozzáadás és 0 törlés
  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 $*