DEBUGGING WITH DYNAMIC SLICING AND BACKTRACKING

被引:149
作者
AGRAWAL, H [1 ]
DEMILLO, RA [1 ]
SPAFFORD, EH [1 ]
机构
[1] PURDUE UNIV,SOFTWARE ENGN RES CTR,W LAFAYETTE,IN 47907
关键词
PROGRAM DEBUGGING; EXECUTION BACKTRACKING; REVERSE PROGRAM EXECUTION; PROGRAM SLICING; DYNAMIC PROGRAM SLICING;
D O I
10.1002/spe.4380230603
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Programmers spend considerable time debugging code. Symbolic debuggers provide some help but the task remains complex and difficult. Other than breakpoints and tracing, these tools provide little high-level help. Programmers must perform many tasks manually that the tools could perform automatically, such as finding which statements in the program affect the value of an output variable for a given test case, and what was the value of a given variable when the control last reached a given program location. If debugging tools provided explicit support for these tasks, the debugging process could be automated to al significant extent. In this paper we present a debugging model, based on dynamic program slicing and execution backtracking techniques, that easily lends itself to automation. This model is bared on experience with using these techniques to debug software. We also present a prototype debugging tool, SPYDER, that explicitly supports the proposed model, and with which we are performing further debugging research.
引用
收藏
页码:589 / 616
页数:28
相关论文
共 45 条
[1]   DBXTOOL - A WINDOW-BASED SYMBOLIC DEBUGGER FOR SUN WORKSTATIONS [J].
ADAMS, E ;
MUCHNICK, SS .
SOFTWARE-PRACTICE & EXPERIENCE, 1986, 16 (07) :653-669
[2]  
AGRAWAL H, 1990, SIGPLAN NOTICES, V25, P246, DOI 10.1145/93548.93576
[3]  
AGRAWAL H, 1991, THESIS PURDUE U W LA
[4]  
AGRAWAL H, 1991, 4TH P ACM S TEST AN, P60
[5]  
AGRAWAL H, 1989, ACM SOFTWARE ENG NOT, V14, P49
[6]  
ARAKI K, 1991, IEEE SOFTWARE, P14
[7]   USER RECOVERY AND REVERSAL IN INTERACTIVE SYSTEMS [J].
ARCHER, JE ;
CONWAY, R ;
SCHNEIDER, FB .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1984, 6 (01) :1-19
[8]  
BALZER RM, 1969, SPR AFIPS P JOINT CO, V34, P567
[9]  
BARTON P, 1988, SIGPLAN NOTICES, V23, P135
[10]   INFORMATION-FLOW AND DATA-FLOW ANALYSIS OF WHILE-PROGRAMS [J].
BERGERETTI, JF ;
CARRE, BA .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1985, 7 (01) :37-61