Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Buildapp and debugger

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?

like image 874
peroksid Avatar asked Jul 02 '26 13:07

peroksid


1 Answers

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.

like image 140
Xach Avatar answered Jul 05 '26 16:07

Xach



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!