Hot Code Patching in CPython: Supporting Edit-and-Continue Debugging in CPython with Less Than 300 Lines of Code

Proceedings of the 14th Workshop on Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems(2019)

引用 0|浏览16
暂无评分
摘要
Some language runtimes such as Java Hotspot or the virtual machine for Squeak/Smalltalk support edit-and-continue debugging, which allows developers to make changes to a program while it is running. This capability is especially useful for recovering from errors in a program. However, it is not supported by CPython, the reference interpreter for Python. In this paper, we demonstrate how edit-and-continue debugging can be integrated into CPython in just under 300 lines of code. We evaluate performance implications, demonstrate how this style of debugging improves the programming experience, and discuss limitations of our approach.
更多
查看译文
关键词
debugging, edit and continue, tail recursion, virtual machines
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要