
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.

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).

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).
...
participants (3)
-
Deven Lahoti
-
Nikita Karetnikov
-
Ruben Astudillo