Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

lua recursive repl on error?

In many scheme/lisp dialects, when an error occurs, a "recursive repl" is popped up ... one can execute scheme/lisp code at the frame where the error occured, and go up/down the stack.

Is it possible to do something similar to this in lua?

Thanks!

like image 906
anon Avatar asked Mar 04 '26 01:03

anon


1 Answers

See debug.debug.

like image 60
lhf Avatar answered Mar 05 '26 22:03

lhf



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!