Hostname: page-component-76fb5796d-vfjqv Total loading time: 0 Render date: 2024-04-25T23:37:53.167Z Has data issue: false hasContentIssue false

How to look busy while being as lazy as ever: the Implementation of a lazy functional debugger

Published online by Cambridge University Press:  28 November 2001

HENRIK NILSSON
Affiliation:
Department of Computer Science, Yale University, CT, USA; (e-mail: nilsson@cs.yale.edu)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

This article describes the implementation of a debugger for lazy functional languages like Haskell. The key idea is to construct a declarative trace which hides the operational details of lazy evaluation. However, to avoid excessive memory consumption, the trace is constructed one piece at a time, as needed during a debugging session, by automatic re-execution of the program being debugged. The article gives a fairly detailed account of both the underlying ideas and of our implementation, and also presents performance figures which demonstrate the feasibility of the approach.

Type
Research Article
Copyright
© 2001 Cambridge University Press
Submit a response

Discussions

No Discussions have been published for this article.