Closed Affonso-Gui closed 4 years ago
how about something like
LAUNCH_PREFIX="exec"
case $1 in
--gdb)
shift # past argument
LAUNCH_PREFIX="gdb -ex run --args"
esac
${LAUNCH_PREFIX} ${EUSLISP_EXE} "${ARG_STR[@]}" "$@"
???
@k-okada This seems nice! Might also be the start of roseus command line options such as --script
or --quiet
Will rebase this PR to include those
I've been needing some more debugging aid in euslisp, and decided to run roseus with gdb on, as pointed out in the roseus executable itself.
Not much difference, but in this PR am updating the gdb related comment to use the same irteusgl executable as the standard command.EDIT: Incorporating @k-okada suggestion to add an command line argument
--gdb
to start roseus in the gdb mode.