Why are results being tracked in a blocked alert?

I wanted to analyze the execution of my code using trace

, and hence I entered

(trace oddp)

      

in the REPL. Contrary to what I expected, I got the error:

** - Continuable Error
TRACE(ODDP): #<PACKAGE COMMON-LISP> is locked
If you continue (by typing 'continue'): Ignore the lock and proceed

      

What exactly does this mean, why is this happening, and is it safe to continue ignoring the lock?

+3


source to share


1 answer


TRACE

works by overriding the function to print the trace messages and then call the original function. But you are usually not allowed to override built-in functions, which is why you get this error.



+2


source







All Articles