office-gobmx/instsetoo_native/ooenv
Noel Grandin 302d85a931 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>
2020-02-20 07:11:13 +01:00

29 lines
1 KiB
Text

#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
ulimit -c unlimited
# 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