application/vdb
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 05 Oct 2018 09:11:56 +0100
changeset 117 1ae8e04f5feb
parent 43 c98aa29401f7
permissions -rwxr-xr-x
UI: add option to change debugger layout and preference to set the default layout

#!/bin/bash
#
# Startup script for Visual / VM Debugger
#

VDB_BINDIR=$(dirname $(realpath $0))

if [ -f "$VDB_BINDIR/vdb.so" ]; then
    # Standalone excutable
    exec "$VDB_BINDIR/vdb.so" ${1+"$@"}
elif [ -x "$VDB_BINDIR/../../../stx/projects/smalltalk/smalltalk" ]; then
    # In build tree 
    exec "$VDB_BINDIR/../../../stx/projects/smalltalk/smalltalk" \
            --load jv:vdb/application --run VDBStartup ${1+"$@"}
else
    echo "erorr: could not find vdb.so"
    exit 1
fi