application/vdb
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 10 Jun 2019 14:59:26 +0100
changeset 165 1e2a4cb4afdd
parent 43 c98aa29401f7
permissions -rwxr-xr-x
plugins/bee: add menu item to disassemble given symbol Also, symbol list is auto-updated each time inferior stops. This may take time and has to be oprimized (later)

#!/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