summaryrefslogtreecommitdiff
path: root/instsetoo_native
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-02-19 21:45:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-20 07:11:13 +0100
commit302d85a931586313e04f82d206970dbc3bce9a47 (patch)
tree3231dc503bb990471a69de060bc0b907604ba03b /instsetoo_native
parent7865c662a4fdc9dc07f59d6ecd76b9c56d0020ae (diff)
add macOS malloc debugging env vars
which would have saved me some time when debugging a recent macOS issue. Change-Id: I370826501db14fc563b553428f480f50bde48f9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89056 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'instsetoo_native')
-rw-r--r--instsetoo_native/ooenv6
1 files changed, 5 insertions, 1 deletions
diff --git a/instsetoo_native/ooenv b/instsetoo_native/ooenv
index d6087a40f39e..f37f6bb7b324 100644
--- a/instsetoo_native/ooenv
+++ b/instsetoo_native/ooenv
@@ -17,9 +17,13 @@
#
ulimit -c unlimited
-# debugging assistance
+# Linux debugging assistance
export SAL_DISABLE_FLOATGRAB=1
export G_SLICE=always-malloc
export MALLOC_CHECK_=2
export MALLOC_PERTURB_=153
export OOO_DISABLE_RECOVERY=1
+
+# macOS debugging assistance
+export MallocScribble=1
+export MallocPreScribble=1