3 . $TOP/build/gtk2_ardour/ardev_common_waf.sh
4 export UBUNTU_MENUPROXY=""
8 -g|--gdb) DBG=gdb; shift ;;
11 --valgrind) DBG=valgrind; shift ;;
14 --callgrind) DBG=callgrind; shift ;;
18 if test -z "$DBG"; then
19 exec $TOP/build/libs/fst/ardour-vst-scanner "$@"
22 if test "$DBG" = "valgrind"; then
23 export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
25 --error-limit=no --num-callers=50 \
28 --leak-check=full --show-leak-kinds=all \
29 --suppressions=${TOP}/tools/valgrind.supp \
30 $TOP/build/libs/fst/ardour-vst-scanner "$@"
33 if test "$DBG" = "callgrind"; then
35 --error-limit=no --num-callers=50 \
37 --separate-callers=3 \
38 --separate-threads=yes \
39 --collect-systime=yes \
41 $TOP/build/libs/fst/ardour-vst-scanner "$@"
44 if test -n "`which gdb`"; then
45 exec gdb --args $TOP/build/libs/fst/ardour-vst-scanner "$@"
47 if test -n "`which lldb`"; then
48 exec lldb -- $TOP/build/libs/fst/ardour-vst-scanner "$@"