2 changed files with 36 additions and 9 deletions
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env sh |
||||
|
||||
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@ "$@" |
Loading…
Reference in new issue