J4 ›› 2010, Vol. 37 ›› Issue (5): 872-878.doi: 10.3969/j.issn.1001-2400.2010.05.017

• Original Articles • Previous Articles     Next Articles

Strategy of deterministic replay debugging based on the event model in distributed debugging

LI Qing-shan1;LI Jun1;YE Hong2;DU Lin1
  

  1. (1. Research Inst. of Software Engineering, Xidian Univ., Xi'an  710071, China;
    2. No.631 Research Inst. of China Aviation Industry Corp., Xi'an  710068, China)
  • Received:2009-07-20 Online:2010-10-20 Published:2010-10-11
  • Contact: LI Qing-shan E-mail:qshli@mail.xidian.edu.cn

Abstract:

In the distributed system, the nondeterministic feature that the process's concurrency causes the error can not be reproduced. The following execution of the program is unable to reproduce the mistakes that occurred on the previous execution. This causes the circulation debugging method no longer to be available. Based on the event model, by studying the mechanism of record and replay during the debugging process, a strategy for deterministic replay is given. This strategy can make the path of the procedure deterministic, reproducing the program initial error status. Then through the traditional circulation debugging strategy, it is possible to set  the breakpoint or to debugging step by step to locate the error.

Key words: distributed debugging, event model, nondeterministic, replay