Publication:

Source-level Debugging for Multiple Languages With Modest Programming Effort

Loading...
Thumbnail Image

Date

2005

Published Version

Published Version

Journal Title

Journal ISSN

Volume Title

Publisher

The Harvard community has made this article openly available. Please share how this access benefits you.

Research Projects

Organizational Units

Journal Issue

Citation

Ryu, Sukyoung and Ramsey Norman. 2005. Source-level Debugging for Multiple Languages With Modest Programming Effort. Harvard Computer Science Group Technical Report TR-01-05.

Abstract

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 compilers 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 met its obligations to the debugger without exposing language-dependent details. We evaluate our approach using two case studies: the production compiler 1cc and an instructional compiler for MiniJava.

Description

Other Available Sources

Research Data

Keywords

Terms of Use

This article is made available under the terms and conditions applicable to Other Posted Material (LAA), as set forth at Terms of Service

Endorsement

Review

Supplemented By

Related Stories