An Embedded Error Recovery And Debugging Mechanism For Scripting Language Extensions

Proceedings of the General Track: 2001 USENIX Annual Technical Conference(2001)

引用 7|浏览23
暂无评分
摘要
In recent years, scripting languages such as Perl, Python, and Tel have become popular development tools for the creation of sophisticated application software. One of the most useful features of these languages is their ability to easily interact with compiled languages such as C and C++. Although this mixed language approach has many benefits, one of the greatest drawbacks is the complexity of debugging that results from using interpreted and compiled code in the same application. In part, this is due to the fact that scripting language interpreters are unable to recover from catastrophic errors in compiled extension code. Moreover traditional C/C++ debuggers do not provide a satisfactory degree of integration with interpreted languages. This paper describes an experimental system in which fatal extension errors such as segmentation faults, bus errors, and failed assertions arc, handled as scripting language exceptions. This system, which has been implemented as a general purpose shared library, requires no modifications to the target scripting language, introduces no performance penalty and simplifies the debugging of mixed interpreted-compiled application software.
更多
查看译文
关键词
Debugging Mechanism,Error Recovery,Scripting Language Extensions
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要