[Haskell-cafe] Looking for a source level debugger

11 views
Skip to first unread message

Nikita Karetnikov

unread,
Sep 17, 2016, 8:01:36 AM9/17/16
to haskel...@haskell.org
Originally sent this to /r/haskell, but it doesn't show up there for some reason, so re-sending here.

Is anyone aware of a source level debugger that can be used with GHC? That is, something integrated into an editor (as a plugin, perhaps) that can highlight the line being executed, show locals, etc. (Think of WinDbg without the registers window.) I'm mostly interested in something that can work on a Linux-based system, but solutions for other platforms are welcome, too! I've heard that Sublime can run on 3 OSes, is there a solution for it, for instance?


P.S. I'm not looking for opinions on whether you think a debugger is necessary or not when programming in Haskell.

Ruben Astudillo

unread,
Sep 17, 2016, 8:12:19 AM9/17/16
to Nikita Karetnikov, haskel...@haskell.org
On 17/09/16 09:00, Nikita Karetnikov wrote:
> Is anyone aware of a source level debugger that can be used with GHC?
> That is, something integrated into an editor (as a plugin, perhaps) that
> can highlight the line being executed, show locals, etc.

ghci is a interactive debugger also, it isn't that useful in haskell as
you reduce expressions instead of evaluating step by step a set of
commands. You can check out on the repl with :? the commands (read for
the ones with :step :next section).

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.

Deven Lahoti

unread,
Sep 17, 2016, 8:20:35 AM9/17/16
to haskel...@haskell.org

On 17/09/16 09:00, Nikita Karetnikov wrote:

> I'm not looking for opinions on whether you think a debugger is necessary or not when programming in Haskell.

On 17/09/2016 08:12, Ruben Astudillo wrote:
> it isn't that useful in haskell as
> you reduce expressions instead of evaluating step by step a set of
> commands. You can check out on the repl with :? the commands (read for
> the ones with :step :next section).

...

Reply all
Reply to author
Forward
0 new messages