Title :
A Bug Locating Method for the Debugging of Parallel Discrete Event Simulation
Author :
Zhu Feng ; Yao Yiping
Author_Institution :
Sch. of Comput. Sci., Nat. Univ. of Defense Technol., Changsha, China
Abstract :
Debugging is critically important for diagnosing bugs of programs. In optimistic Parallel Discrete Event Simulation(PDES), a bug is probably not to be reproduced for the different orders of event processing in different simulation runs, so locating bugs is of great challenge in debugging PDES programs. To solve this problem, we first propose a bug reproducing method based on checkpoint/restart mechanism, which avoids starting the program from scratch when an error emerges. Moreover, our method can change the checkpoint interval dynamically to reduce the overhead of states saving. Then, based on bug reproduction we propose a bug locating method, which aims at searching for these events that cause the bugs likely by comparing the event processing sequences between one passing test case and the failing test case. By doing this, we can focus on the events directly related to the bugs, which will reduce the time of locating a bug.
Keywords :
discrete event simulation; formal verification; parallel processing; program debugging; PDES; bug diagnosis; bug locating method; checkpoint mechanism; parallel discrete event simulation debugging; restart mechanism; Biological system modeling; Computational modeling; Computer bugs; Conferences; Customer relationship management; Debugging; Program processors; PDES; checkpoint/restart mechanism; debugging; event processing sequence;
Conference_Titel :
Principles of Advanced and Distributed Simulation (PADS), 2012 ACM/IEEE/SCS 26th Workshop on
Conference_Location :
Zhangjiajie
Print_ISBN :
978-1-4673-1797-9
DOI :
10.1109/PADS.2012.1