kirancodes.me
To Proof Maintenance & Beyond!

A lightweight interactive debugger for haskell

Simon Marlow, José Iborra, Bernard J. Pope, Andy Gill

Abstract

This paper describes the design and construction of a Haskell source-level debugger built into the GHCi interactive environment. We have taken a pragmatic approach: the debugger is based on the traditional stop-examine-continue model of online debugging, which is simple and intuitive, but has traditionally been shunned in the context of Haskell because it exposes the lazy evaluation order. We argue that this drawback is not as severe as it may seem, and in some cases is an advantage.

Related papers