> On Feb 15, 2017, at 7:36 AM, Christopher Allan Webber > <cweb...@dustycloud.org> wrote: > > One thing that we see requested a lot is how to do the equivalent of: > > import pdb > pdb.set_trace() > > in python, just dumping something to "trigger" the debugger somewhere. > I seem to remember getting some arcane code to do something similar, but > maybe we can just have a simple invocation that people could put > anywhere. (Amirouche has been raising this one also I think.) >
^^^This is exactly what I yearn for. I asked about this before and got the following hint, but could not get anything to work. (use-modules (system repl repl)) (Use-modules (system repl debug)) ... (start-repl #:debug (make-debug (stack->vector (make-stack #t)) 0 "trap!" #t))