Paper
26 March 1986 A Program Error Localization Expert System
Bogdan Korel
Author Affiliations +
Proceedings Volume 0635, Applications of Artificial Intelligence III; (1986) https://doi.org/10.1117/12.964119
Event: 1986 Technical Symposium Southeast, 1986, Orlando, United States
Abstract
Error localization in program debugging is the process of identifying program statements which cause incorrect behavior. This paper describes a prototype of the error localization expert system which guides a programmer during debugging of Pascal programs. The system is interactive: it queries the programmer for the correctness of the program behavior and uses answers to focus the programmer's attention on an erroneous part of the program (in particular, it can localize a faulty statement). The system differs from previous approaches in that it makes use of the knowledge of program structure rather than the knowledge at the level of symptom-fault rules. The knowledge of program structure is represented by the dependence network which is based on the concept of dependence relationship between program instructions. The inspiration behind using the dependence network is that any instruction in the execution trace from the beginning to a position of incorrectness could conceivably have been responsible for the faulty behavior. Using dependence network, as a guide to which instruction to examine, seems to be an effective way to focus the programmer's attention appropriately. The dependence network is used by the error-locating reasoning mechanism to guide the construction, evaluation, and modification of hypotheses of possible causes of the error. The backtracking reasoning has been implemented in the reasoning mechanism. This type of reasoning is, in some sense, just an abstraction and elaboration of what experienced programmers do intuitively. The expert system frees the programmer from trial-and-error process that is typical during locating the source of an error when using a traditional break-and-examine debugger.
© (1986) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Bogdan Korel "A Program Error Localization Expert System", Proc. SPIE 0635, Applications of Artificial Intelligence III, (26 March 1986); https://doi.org/10.1117/12.964119
Lens.org Logo
CITATIONS
Cited by 2 scholarly publications.
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Diagnostics

Artificial intelligence

Error analysis

Prototyping

Human-machine interfaces

Control systems

Electronic circuits

RELATED CONTENT

Cooperative project between government and the private sector
Proceedings of SPIE (February 09 1996)
Using NTT as prototype for VLT the new NTT...
Proceedings of SPIE (March 21 1997)
Low cost real time hardware in the loop FCS performance...
Proceedings of SPIE (August 01 1991)
A Diagnostic Aid To Pulp Production
Proceedings of SPIE (March 21 1989)
A Multi-Level Expert System For Repair Applications
Proceedings of SPIE (March 29 1988)
A Comprehensive Evaluation of Expert System Tools
Proceedings of SPIE (April 06 1987)
Configuration in mechanical engineering
Proceedings of SPIE (January 01 1990)

Back to Top