SB-KERNEL: TWO-ARG - what does this mean when used in the backtrace debugger?

I (beginner) debug Lisp code (general Lisp, steel bank, SLIME).

The first frame in my backtrace:

0: (SB-KERNEL:TWO-ARG-> 1 NIL) 

My question is:

  • What does "SB-KERNEL: TWO-ARG" mean / check / do?
  • Where should I watch this on the Internet? (I tried to find it, but I can not find links to it, except for other Backtrace outputs).
+4
source share
1 answer

You can use the "v" in the frame to go on to defining the function in the debugger.

In this case, the sb-kernel:two-arg-> sounds like a specialized version > , which is called when there are exactly two arguments. If the arguments are 1 and NIL, you will receive an error message because NIL is not a number.

I do not know how you would understand this, except how to practice and ask questions.

+5
source

Source: https://habr.com/ru/post/1334831/


All Articles