© University of Kent - Contact | Feedback | Legal
The University of Kent, Canterbury, Kent, CT2 7NZ, T +44 (0)1227 764000
We have proved the correctness of algorithmic debugging if the traces are acyclic. For cyclic traces, however, does algorithmic debugging still work? There does not exist a common understanding of how to debug cyclic traces in functional programming communities for a long time. In this paper we give two small examples to demonstrate that it is extremely difficult to find a generic algorithmic debugging scheme for cyclic traces. We conjecturre that it is impossible to have a generic scheme for cyclic traces, because the examples are very small and the choices of reasonable debugging trees are very limited. We also present acyclic traces in which constants are shared unless shared constants result in a cycle. The normal algorithmic debugging scheme works fine for acyclic traces and the proof is very similar to our previous paper.
Download publication 217 kbytes (PDF)
@techreport{2645,
author = {Yong Luo and Olaf Chitil},
title = {Algorithmic Debugging with Cyclic Traces of Lazy Functional Programs},
month = {August},
year = {2007},
pages = {},
keywords = {Haskell, Hat, tracing},
note = {},
doi = {},
url = {http://www.cs.kent.ac.uk/pubs/2007/2645},
publication_type = {techreport},
submission_id = {22707_1203704843},
type = {Technical report},
number = {9-07},
address = {UK},
institution = {University of Kent, Computing Laboratory},
}