hat-stack

Langue: en

Version: 253619 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

hat-stack - "virtual" stack trace for a crashed Haskell program

SYNOPSIS

hat-stack prog[.hat]

DESCRIPTION

For aborted computations, that is computations that terminated with an error message or were interrupted, hat-stack shows in which function call the computation was aborted. It does so by showing a virtual stack of function calls (redexes), i.e. every function call on the stack caused the function call above it. The evaluation of the top stack element caused the error (or during its evaluation the computation was interrupted). The stack shown is virtual, because it does not correspond to the actual runtime stack. The actual runtime stack enables lazy evaluation whereas the virtual stack corresponds to a stack that would have been used for eager (strict) evaluation.

hat-stack is now largely superseded by hat-trail(1) which allows interactive browsing of the complete call chain.

FILES

/usr/bin/hat-stack

SEE ALSO

hmake(1), hat-trans(1), hat-observe(1), hat-detect(1), hat-trail(1)