소스 검색

Add examples to use valgrind and gdb with python

Samuel Thibault 4 년 전
부모
커밋
af06ba720b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 $*