From 3e276a20ddcf633fcde338a7ae648162bd3f2443 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 4 Feb 2024 12:23:44 +0100 Subject: [PATCH] Add example ASAN_OPTIONS to script. --- run/dcpomatic | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run/dcpomatic b/run/dcpomatic index 38de6a670..730b89d55 100755 --- a/run/dcpomatic +++ b/run/dcpomatic @@ -12,6 +12,8 @@ fi export DYLD_LIBRARY_PATH=/Users/cah/osx-environment/$env/lib:/usr/local/lib +# export ASAN_OPTIONS=verbosity=1:malloc_context_size=20:detect_leaks=1 + if [ "$1" == "--debug" ]; then shift gdb --args $binary $* -- 2.30.2