计算机科学 > 程序设计语言
[提交于 2026年4月10日]
标题:Tracers for debugging and program exploration
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Programmers often use an iterative process of hypothesis generation ("perhaps this function is called twice?") and hypothesis testing ("let's count how many times this breakpoint fires") to understand the behavior of unfamiliar or malfunctioning software. Existing debugging tools are much better suited to testing hypotheses than to generating them. Step debuggers, for example, present isolated snapshots of the program's state, leaving it to the programmer to mentally reconstruct the evolution of that state over time. We advocate for a different approach: building a debugging and program-exploration tool around a *trace*, or complete history, of the program's execution. Our key claim is that the user should see every line *as executed* (in time order) rather than *as written* (in syntax order). We discuss design choices, preliminary results, and interesting challenges.
提交历史
来自:Shardul Chiplunkar[v1] 2026年4月10日 星期五 13:08:49 UTC