High-level language debugging for concurrent programs

  • Authors:
  • German S. Goldszmidt;Shaula Yemini;Shmuel Katz

  • Affiliations:
  • IBM T.J. Watson Research Center;IBM T.J. Watson Research Center;Technion, Israel Institute of Technology

  • Venue:
  • ACM Transactions on Computer Systems (TOCS)
  • Year:
  • 1990

Quantified Score

Hi-index 0.00

Visualization

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.