High-Level Language Debugging for Concurrent Programs

German S. Goldszmidt, Shaula Yemini, Shmuel Katz

Research output: Contribution to journalArticlepeer-review

Abstract

An integrated system design for debugging distributed programs written in concurrent high-level languages is described. A variety of user-interface, monitoring, and analysis tools integrated around a uniform process model are provided. Because the tools are language-based, the user does not have to deal with low-level implementation details of distribution and concurrency, and instead can focus on the logic of the program in terms of language-level objects and constructs. The tools provide facilities for experimentation with process scheduling, environment simulation, and nondeterministic selections. Presentation and analysis of the program's behavior are supported by history replay, state queries, and assertion checking. Assertions are formulated in linear time temporal logic, which is a logic particularly well suited to specify the behavior of distributed programs. The tools are separated into two sets. The language-specific tools are those that directly interact with programs for monitoring of and on-line experimenting with distributed programs. The language-independent tools are those that support off-line presentation and analysis of the monitored information. This separation makes the system applicable to a wide range of programming languages. In addition, the separation of interactive experimentation from off-line analysis provides for efficient exploitation of both user time and machine resources. The implementation of a debugging facility for OCCAM is described.

Original languageEnglish
Pages (from-to)311-336
Number of pages26
JournalACM Transactions on Computer Systems
Volume8
Issue number4
DOIs
StatePublished - 11 Jan 1990

Keywords

  • distributed debugging
  • language independence
  • portability
  • temporal logic

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'High-Level Language Debugging for Concurrent Programs'. Together they form a unique fingerprint.

Cite this