a highly automated and intuitive digital audio workstation
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/env sh
|
|
|
|
# SPDX-FileCopyrightText: © 2021 Alexandros Theodotou <alex@zrythm.org>
|
|
|
|
# SPDX-License-Identifier: LicenseRef-ZrythmLicense
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
|
|
|
export GSETTINGS_SCHEMA_DIR=@SCHEMAS_DIR@
|
|
|
|
export G_MESSAGES_DEBUG=zrythm
|
|
|
|
export GDK_SYNCHRONIZE=1
|
|
|
|
|
|
|
|
user_dir="`gsettings get org.zrythm.Zrythm.preferences.general.paths zrythm-dir | sed s/\'//g`"
|
|
|
|
user_lldb_dir="$user_dir/lldb"
|
|
|
|
date_str=`date +%Y-%m-%d_%H-%M-%S`
|
|
|
|
lldb_out_file="$user_lldb_dir/lldb_$date_str.bt"
|
|
|
|
|
|
|
|
# TODO test
|
|
|
|
lldb --attach-pid --batch \
|
|
|
|
--one-line bt \
|
|
|
|
--one-line-on-crash bt \
|
|
|
|
--one-line-on-crash quit \
|
|
|
|
@BIN_DIR@/@PROGRAM_NAME_LOWERCASE@ "$@"
|