[CM] Make a debugger in s7?

Iain Duncan iainduncanlists at gmail.com
Thu Feb 19 16:08:43 PST 2026


Hi Bill, in s7-scm.html it says *debug.scm has various debugging aids,
including trace, break, watch, and a C-style stacktrace. The *s7* field
'debug controls when these are active, and to what extent.*

Does that mean my s7 program just needs to load debug.scm in order to use
these?

thanks
iain

On Thu, Feb 19, 2026 at 10:56 AM Iain Duncan <iainduncanlists at gmail.com>
wrote:

> Fantastic, thanks Bill!
>
> iain
>
> On Thu, Feb 19, 2026 at 10:24 AM <bil at ccrma.stanford.edu> wrote:
>
>> In s7-scm.html, there's an example that uses repl.scm
>> and drop-into-repl.  repl.scm is using a terminal in
>> raw mode (or whatever the name is) and vt-100 codes.
>> There's another commented-out example in the html file
>> around line 883.  I think nrepl would also work here,
>> and would give mouse support.  debug.scm has a break
>> function, but it has been a long time since I used it.
>> (It's also described in s7-scm.html).
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20260219/9ee00ea5/attachment.html>


More information about the Cmdist mailing list