"while-no-input" 内调用的调试函数
debug function called within "while-no-input"
我尝试调试在 while-no-input
上下文中调用的函数 compute
。
(while-no-input (compute arg1 arg2))
为 edebug 检测 compute
并按下 edebug 的键让它跳到 computation
之外,这会以一种丑陋的方式破坏调试器的执行。
不知道是否可以在不切割while-no-input
的情况下调试compute
。
没错。 while-no-input
不关心输入是否来自调试器中的输入。
要在这样的上下文中进行调试,我会在您要调试的代码中插入对 message
的调用,回显缓冲区 *Messages*
任何中间值或其他有帮助的信息。
while-no-input
只关心输入,不关心输出(例如调用 message
)。
我尝试调试在 while-no-input
上下文中调用的函数 compute
。
(while-no-input (compute arg1 arg2))
为 edebug 检测 compute
并按下 edebug 的键让它跳到 computation
之外,这会以一种丑陋的方式破坏调试器的执行。
不知道是否可以在不切割while-no-input
的情况下调试compute
。
没错。 while-no-input
不关心输入是否来自调试器中的输入。
要在这样的上下文中进行调试,我会在您要调试的代码中插入对 message
的调用,回显缓冲区 *Messages*
任何中间值或其他有帮助的信息。
while-no-input
只关心输入,不关心输出(例如调用 message
)。