Skip to content

The Haskell Debugger for GHC 9.14

discourse.haskell.org
5 pointscosmic_quanta3 comments
On HN

Comments

This is the first release of any Haskell debugger, as far as I know. It coincides with the release of v9.14 of the de-facto standard Haskell compiler, GHC

Well, there has always been some very bare-bones debugging support in ghci (you can set breakpoints, step and inspect variables), but only for interpreted code, and zero debug adapter protocol integration or such things https://downloads.haskell.org/ghc/latest/docs/users_guide/gh... I've never managed to get any use out of it.

This new `hdb` however looks like the real thing. I like that they added a `DebugView` class for debug-specific pretty-printing. Even has a nice web page :) https://well-typed.github.io/haskell-debugger/

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.