I am trying to troubleshoot some complex/deep code and would like to be able to keep hitting Ctrl+D (@continue
) and have a variable (e.g. call it p
print for each time I hit Ctrl+D. Is there anyway to do this or do I have to enter p
into the REPL each time?
Not an ideal solution, but in vs code, you could use the Keyboard Macro Beta extension to record and play back a sequence of keystrokes.
Might be a bit of a hack, but did you try printing the variable and then returning true inside a @cond point?
It takes an expression which I believe is evaluated for that particular iteration, to decide if triggering an infiltration or not. So you could just ask it to print a value and then tell it to infiltrate. I.e. @cond( @show p; true)
Last updated: Sep 07 2025 at 04:39 UTC