一句话:在 Code Bubbles 中实现随编辑持续执行并可视化执行结果的开发工具,辅助写码与调试。
传统开发环境中编辑与执行往往分离,程序员需要反复重跑才能观察代码修改对执行行为的影响,难以边写边调试。本文提出并实现了 Code Bubbles 环境中的 SEEDE 工具,支持在程序员编辑代码时持续执行程序。SEEDE 以变量、控制流、数据流、输出和图形等形式展示执行的中间结果与最终结果,并随用户编辑自动更新;用户可以从断点或测试用例启动连续执行,在编写或修改代码的同时快速探索某个方法及其所有被调用代码的行为。论文介绍了该工具的设计、实现与用户界面,并通过一项初步用户研究展示了其在辅助编写新代码以及查找和修复缺陷方面的潜在效用。
We introduce a tool within the Code Bubbles development environment that allows for continuous execution as the programmer edits. The tool, SEEDE, shows both the intermediate and final results of execution in terms of variables, control and data flow, output, and graphics. These results are updated as the user edits. The tool can be used to help the user write new code or to find and fix bugs. The tool is explicitly designed to let the user quickly explore the execution of a method along with all the code it invokes, possibly while writing or modifying the code. The user can start continuous execution either at a breakpoint or for a test case. This paper describes the tool, its implementation, and its user interface. It presents an initial user study of the tool demonstrating its potential utility.
DOI 原文 ·
@inproceedings{paperbot4692,
title = {SEEDE: simultaneous execution and editing in a development environment},
author = {Steven P. Reiss and Qi Xin and Jeff Huang},
booktitle = {ASE},
year = {2018},
doi = {10.1145/3238147.3238182}
}