Title :
Semi-automatic bug localization in software maintenance
Author :
Shahmehri, Nahid ; Kamkar, Mariam ; Fritzson, Peter
Author_Institution :
Dept. of Inf. & Comput. Sci., Linkoping Univ., Sweden
Abstract :
An algorithmic program debugger for imperative languages is presented, with Pascal as an example case. This debugger extends the power of existing debuggers by providing an interactive debugging facility where errors can be localized semiautomatically. The debugger is activated on demand when the user discovers a symptom of an error as the result of some computation. This symptom presumably denotes a difference between the intended program behavior and the actual behavior. The proposed approach consists of three phases: program transformation, tracing, and debugging. The first phase transforms the source program into an internal representation which is appropriate, according to the Shapiro model, for algorithmic debugging. This phase produces an intermediate program which is free from side effects and loops. The program tracing phase generates trace information which builds an execution tree for the erroneous program. The debugging phase performs bug localization through a number of user interactions. This phase consists of pure algorithmic program debugging and program slicing
Keywords :
Pascal; program debugging; software maintenance; Pascal; Shapiro model; actual behavior; algorithmic program debugger; erroneous program; error localization; error symptom; execution tree; imperative languages; intended program behavior; interactive debugging; intermediate program; internal representation; program slicing; program tracing; program transformation; semi automatic bug localization; software maintenance; source program; trace information; user interactions; Costs; Data analysis; Data flow computing; Debugging; Microwave integrated circuits; Programming profession; Prototypes; Search methods; Software maintenance; Software prototyping;
Conference_Titel :
Software Maintenance, 1990, Proceedings., Conference on
Conference_Location :
San Diego, CA
Print_ISBN :
0-8186-2091-9
DOI :
10.1109/ICSM.1990.131319