I am looking for the best technique for this. My common struggle is that the debugger comes in too late or too early to catch the value of the variables.
What I tried first:
(loop for i from 0 to 10 do (break))
When the debugger enters break, I cannot access i :( So this is a wasted effort. I tried the debugger option e (eval in the frame), but SLIME is usually just an error and I have to reconnect to SWANK. v or t do not help, because the variable simply "does not exist."
What I finished:
(loop for i from 0 to 10 do (signal i))
This is stupid, but works because it pushes i onto the frame stack, which I can check in the debugger. But it's just ... well, he breaks into the worst sense of the word. Isn't there a way to โlookโ at a variable or have a more meaningful way to set a breakpoint so that I can see more variables around the place where the breakpoint was entered?
user797257
source share