On the complexity of program debugging using constraints for modeling the program's syntax and semantics

  • Authors:
  • Franz Wotawa;Jörg Weber;Mihai Nica;Rafael Ceballos

  • Affiliations:
  • Institute for Software Technology, Graz University of Technology;Institute for Software Technology, Graz University of Technology;Institute for Software Technology, Graz University of Technology;Computer Languages and Systems Department, University of Seville

  • Venue:
  • CAEPIA'09 Proceedings of the Current topics in artificial intelligence, and 13th conference on Spanish association for artificial intelligence
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

The use of model-based diagnosis for automated program debugging has been reported in several publications. The quality of the obtained results in terms of debugging accuracy is good. Unfortunately, most of the proposed models and techniques have very high computational needs. In this paper we focus on giving an explanation for the high computational needs of debugging. In particular, we propose a constraint representation of programs whose behavior is equivalent to the original programs. We further analyze the constraint representation to obtain its hypertree width, which is an indicator for the complexity of the corresponding constraint satisfaction problem. As constraint-based debugging is equivalent to constraint solving, the hypertree width is also an indicator for the debugging complexity. We further show that it is possible to construct arbitrarily complex programs such that their hypertree width is not bounded as indicated in previous literature.