arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.02872cs.HCcs.SE
收藏

Anteater:程序执行值在上下文中的交互式可视化

Anteater: Interactive Visualization of Program Execution Values in Context

Rebecca Faust, Katherine Isaacs, William Z. Bernstein, Michael Sharp, Carlos Scheidegger

AI总结:

本文提出交互式可视化系统 Anteater,通过组织追踪数据生成中间表示并自动合成多种可视化与交互,帮助程序员探索 Python 程序执行、理解并调试意外行为,并通过用户研究验证其效用。

摘要:

调试被公认为编程中最困难的部分之一。在本文中,我们探讨的问题是:当我们将交互式可视化作为核心设计原则时,调试环境会是什么样子?我们介绍了 Anteater,一个用于追踪和探索 Python 程序执行的交互式可视化系统。现有系统通常是在已有基础设施之上构建可视化组件。相比之下,Anteater 对追踪数据的组织方式能够生成一种中间表示,该表示可被利用来自动合成多种可视化和交互。这些交互式可视化有助于完成诸如发现执行中的重要结构、理解并调试意外行为等任务。为了评估 Anteater 的实用性,我们开展了一项参与者研究,让程序员使用 Anteater 在他们自己的 Python 程序上完成任务。最后,我们讨论了其局限性以及需要进一步研究的方向。

英文摘要:

Debugging is famously one the hardest parts in programming. In this paper, we tackle the question: what does a debugging environment look like when we take interactive visualization as a central design principle? We introduce Anteater, an interactive visualization system for tracing and exploring the execution of Python programs. Existing systems often have visualization components built on top of an existing infrastructure. In contrast, Anteater's organization of trace data enables an intermediate representation which can be leveraged to automatically synthesize a variety of visualizations and interactions. These interactive visualizations help with tasks such as discovering important structures in the execution and understanding and debugging unexpected behaviors. To assess the utility of Anteater, we conducted a participant study where programmers completed tasks on their own python programs using Anteater. Finally, we discuss limitations and where further research is needed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑