Title :
A framework of an assertion-based algorithmic debugging for distributed programs
Author :
Ohta, Tsuyoshi ; Kinoshita, Hideto ; Kimata, Takahiro ; Mizuno, Tadanori
Author_Institution :
Dept. of Comput. Sci., Shizuoka Univ., Hamamatsu, Japan
Abstract :
The article presents a framework and an assertion based prototype system of an algorithmic debugging for distributed programs written in procedural languages. First, an abstraction of previous related works is presented and we argue that an algorithmic debugging is a pruning process of a directed graph. Second, we present how to concrete the abstract method for distributed procedural languages. The method is divided into two phases. The purpose of the first phase is to reduce a range of erroneous program codes that cause a global state anomaly. We use only a global state in this phase. In the second phase, we locate a fault only using local states of processes. Third, we describe an overview of our prototype system based on the framework. The system is based on a replaying technique. We also show an automatic method for the first phase by using an assertion technique. Finally, the limitations of this approach and future work is presented. The major contribution of the paper is as follows. First, separating the treatment of global and local anomaly by dividing debugging processes into two phases enables us to apply algorithmic debugging to distributed programs. Second, we can use appearable execution points instead of actually appearing execution points to check whether the execution is correct or not, and third, we show an automatic operation of the first phase to avoid troublesome global state checking and to aim the range of codes which may contain fault
Keywords :
directed graphs; distributed programming; parallel languages; program debugging; abstract method; algorithmic debugging; appearable execution points; assertion based algorithmic debugging; assertion based prototype system; assertion technique; automatic method; automatic operation; debugging processes; directed graph; distributed procedural languages; distributed programs; erroneous program codes; future work; global state anomaly; global state checking; local anomaly; local states; procedural languages; prototype system; pruning process; replaying technique; Computer science; Concrete; Debugging; Fault diagnosis; History; Logic programming; Prototypes; System recovery; Tree graphs; Visualization;
Conference_Titel :
Information Networking, 2001. Proceedings. 15th International Conference on
Conference_Location :
Beppu City, Oita
Print_ISBN :
0-7695-0951-7
DOI :
10.1109/ICOIN.2001.905446