I am writing a program with SBCL and building it with Buildapp. Currently when error occurs it starts debugger. I want it to die in the same manner as other simple (C) programs do. What can I do for this?
One option is to put (sb-ext:disable-debugger) early in your startup function. When an error occurs and there is no handler, SBCL will print an error and a backtrace and exit.
Another option is to write a function that does what you want on error and set it as your debugger hook; see command-line-debugger in buildapp itself for an example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With