Sciweavers

CC
2005
Springer

Source-Level Debugging for Multiple Languages with Modest Programming Effort

14 years 5 months ago
Source-Level Debugging for Multiple Languages with Modest Programming Effort
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 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 languagedependent details. We evaluate our approach using two case studies: the production compiler lcc and an instructional compiler for MiniJava.
Sukyoung Ryu, Norman Ramsey
Added 26 Jun 2010
Updated 26 Jun 2010
Type Conference
Year 2005
Where CC
Authors Sukyoung Ryu, Norman Ramsey
Comments (0)