【24h】

Source-Level Debugging for Multiple Languages with Modest Programming Effort

机译:通过适度的编程工作对多种语言进行源代码级调试

获取原文
获取原文并翻译 | 示例

摘要

We present techniques that enable source-level debugging for multiple languages at the cost of only modest programming effort. The key idea is to avoid letting debugging requirements constrain the internal structure of the compiler. Constraints are minimized primarily by hiding the source-language type system and target-machine representations from the debugger. This approach enables us to support a new language and compiler while reusing existing elements: a multi-language, multi-platform debugger; the compiler's implementation of source-language types and expressions; information already present in the compiler's private data structures; and our compile-time support library, which helps the compiler meet its obligations to the debugger without exposing language-dependent details. We evaluate our approach using two case studies: the production compiler lcc and an instructional compiler for MiniJava.
机译:我们提出的技术仅需少量的编程工作即可启用多种语言的源代码级调试。关键思想是避免让调试要求限制编译器的内部结构。通过从调试器隐藏源语言类型的系统和目标机器的表示,可以最大程度地减少约束。这种方法使我们能够在重新使用现有元素的同时,支持一种新的语言和编译器:多语言,多平台调试器;编译器对源语言类型和表达式的实现;编译器的私有数据结构中已经存在的信息;以及我们的编译时支持库,该库可帮助编译器履行其对调试器的义务,而无需暴露与语言相关的细节。我们使用两个案例研究来评估我们的方法:生产编译器lcc和MiniJava的说明性编译器。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号