Implementation of an Optimal Strategy for Algorithmic Debugging

  • Authors:
  • David Insa;Josep Silva

  • Affiliations:
  • Departamento de Sistemas Informáticos y Computación, Universitat Politècnica de València, E-46022 Valencia, Spain;Departamento de Sistemas Informáticos y Computación, Universitat Politècnica de València, E-46022 Valencia, Spain

  • Venue:
  • Electronic Notes in Theoretical Computer Science (ENTCS)
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

One of the most automatic debugging techniques is Algorithmic Debugging because it allows us to debug a program without the need to inspect the source code. In order to find a bug, an algorithmic debugger asks questions to the programmer about the correctness of subcomputations in an execution. Reducing the number and complexity of these questions is an old objective in this field. Recently, an strategy for algorithmic debuggers that minimizes the number of questions has been released. This new strategy is called Optimal Divide and Query and, provided that all questions can be answered, it finds any bug in the source code with a minimum set of questions. In this work we discuss the implementation of such a strategy in different algorithmic debugging architectures.