The design and implementation of a dataflow language for scriptable debugging

  • Authors:
  • Guillaume Marceau;Gregory H. Cooper;Jonathan P. Spiro;Shriram Krishnamurthi;Steven P. Reiss

  • Affiliations:
  • Computer Science Department, Brown University, Providence, USA 02912;Computer Science Department, Brown University, Providence, USA 02912;Computer Science Department, Brown University, Providence, USA 02912;Computer Science Department, Brown University, Providence, USA 02912;Computer Science Department, Brown University, Providence, USA 02912

  • Venue:
  • Automated Software Engineering
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Debugging is a laborious, manual activity that often involves the repetition of common operations. Ideally, users should be able to describe these repetitious operations as little programs. Debuggers should therefore be programmable, or scriptable. The operating environment of these scripts, however, imposes interesting design challenges on the programming language in which these scripts are written.This paper presents our design of a language for scripting debuggers. The language offers powerful primitives that can precisely and concisely capture many important debugging and comprehension metaphors. The paper also describes a pair of debuggers, one for Java and the other for Scheme, built in accordance with these principles. The paper includes concrete examples of applying this debugger to programs.