Davie, Thomas and Chitil, Olaf
Hat-Delta --- One Right Does Make a Wrong.
In: Hat Day 2005: work in progress on the Hat tracing system for Haskell.
(Full text available)
We outline two methods for locating bugs in a program. This is done by comparing computations of the same program with different input. At least one of these computations must produce a correct result, while exactly one must exhibit some erroneous behaviour. Firstly reductions that are thought highly likely to be correct are eliminated from the search for the bug. Secondly, a program slicing technique is used to identify areas of code that are likely to be correct. Both methods have been implemented. In combination with algorithmic debugging they provide a system that quickly and accurately identifies bugs.
- Depositors only (login required):