调试与程序探索的踪迹工具
Tracers for debugging and program exploration
AI总结:
本文提出通过追踪程序执行完整历史来改进调试方法,强调显示执行顺序而非语法顺序,探讨设计选择与初步结果。
摘要:
程序员常常使用假设生成(
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。