question about "stop" keyword
question about "stop" keyword
Is there something similar to the stop keyword that prints out a stack trace before returning control to the interpreter? I was doing things like returning no value for funcs and obfuncs or returning a value for procs to produce the stack trace, but this seems awkward. I am printing a string with an error message, but that isn't usually that helpful without a stack trace. I'm also worried that someone using my code could see the part of the normal error message "(proc or iterator) returns value" or "(func) returns no value" and think that they need to fix that, when that is actually just being used as a flag and the real problem lies elsewhere.