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

时光倒流

Debugging Backwards in Time

Bil Lewis

摘要:

通过记录程序运行过程中的每一个状态变化,可以向程序员提供所需的每一位信息。从本质上讲,通过“时间倒退”来调试程序成为可能,大大简化了调试过程。这一思想的一个实现,“全知编程器”,被用来证明它的可行性,并已成功地用于一些大型程序。提出了与事件分析引擎的集成,用于搜索和控制。一些小规模的用户研究提供了令人鼓舞的结果。最后讨论了性能问题和实现以及可能的优化。本文提出了三个有趣的贡献:“时间倒退”的概念和技术,GUI,它提供了一个全局视图的程序状态,并有一个正式的概念“导航通过时间”,并与事件分析器的集成。

英文摘要:

By recording every state change in the run of a program, it is possible to present the programmer every bit of information that might be desired. Essentially, it becomes possible to debug the program by going ``backwards in time,'' vastly simplifying the process of debugging. An implementation of this idea, the ``Omniscient Debugger,'' is used to demonstrate its viability and has been used successfully on a number of large programs. Integration with an event analysis engine for searching and control is presented. Several small-scale user studies provide encouraging results. Finally performance issues and implementation are discussed along with possible optimizations. This paper makes three contributions of interest: the concept and technique of ``going backwards in time,'' the GUI which presents a global view of the program state and has a formal notion of ``navigation through time,'' and the integration with an event analyzer.

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

↑