|Version 3 (modified by guest, 8 years ago) (diff)|
Experience with existing stack tracing tools
Before we decide what kind of stack trace we want, it is very useful to see what the other existing tools already provide. This will give us some ideas about what is workable in practice.
The tools we will be testing are:
- Hat, particularly hat-tack and hat-trail (hat stack is just a specialisation of hat-trail).
- Cost Centre Stacks (CCS) with +RTS -xc -RTS
- Andy Gill's HpcT tracer
- The ghci debugger extended with a simple stack passing transformation. We will try both a full transformation and some kind of partial transformation (where only part of the code is transformed).
The test suite is a selection of programs from the nofig-buggy suite provided by the group at Technical University of Valencia. It is a modified version of the usual nofib benchmark suite. The suite can be obtained like so:
darcs get --partial http://einstein.dsic.upv.es/darcs/nofib-buggy/
Since we are interested in stack traces we will limit ourselves to programs with crash with an uncaught exception, such as divide by zero, head of empty list, calls to error, pattern match failure and so forth.
The actual test programs are all from the real category:
- anna: Julien's strictness analyzer. It has been modified to divide by zero.
Test 1, anna, divide by zero error