Scaling up algorithmic debugging with virtual execution trees

  • Authors:
  • David Insa;Josep Silva

  • Affiliations:
  • Universidad Politécnica de Valencia, Camino de Vera s/n, Valencia, Spain;Universidad Politécnica de Valencia, Camino de Vera s/n, Valencia, Spain

  • Venue:
  • LOPSTR'10 Proceedings of the 20th international conference on Logic-based program synthesis and transformation
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Declarative debugging is a powerful debugging technique that has been adapted to practically all programming languages. However, the technique suffers from important scalability problems in both time and memory. With realistic programs the huge size of the execution tree handled makes the debugging session impractical and too slow to be productive. In this work, we present a new architecture for declarative debuggers in which we adapt the technique to work with incomplete execution trees. This allows us to avoid the problem of loading the whole execution tree in main memory and solve the memory scalability problems. We also provide the technique with the ability to debug execution trees that are only partially generated. This allows the programmer to start the debugging session even before the execution tree is computed. This solves the time scalability problems. We have implemented the technique and show its practicality with several experiments conducted with real applications.