Changes between Version 6 and Version 7 of DeBugging
- Timestamp:
- 11/21/13 14:13:09 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeBugging
v6 v7 24 24 [[BR]] 25 25 == Using Valgrind == 26 In order to run a program under valgrind, the code must be compiled with the {{{-g}}} tag and without any optimization tags. The valgrind executable is available on grass and on bluehive, and can be made available by adding the path to the {{ $PATH}}} and {{{$LD_LIBRARY_PATH}}} in your {{{.bashrc}}} file. Depending on your machine, use one of the following lines:26 In order to run a program under valgrind, the code must be compiled with the {{{-g}}} tag and without any optimization tags. The valgrind executable is available on grass and on bluehive, and can be made available by adding the path to the {{{PATH}}} and {{{LD_LIBRARY_PATH}}} in your {{{.bashrc}}} file. Depending on your machine, use one of the following lines: 27 27 28 28 '''grass.pas.rochester.edu:''' {{{export PATH=/home/bshroyer/local/valgrind/bin:$PATH}}}