/haskell-debug

Implements a graphical haskell debugger in atom, using ghci

Primary LanguageTypeScriptMIT LicenseMIT

haskell-debug

Implements a graphical haskell debugger in atom, using ghci.

main screenshot

Dependencies

Installation

  1. Install language-haskell and ide-haskell apm install language-haskell ide-haskell
  2. Install this package apm install haskell-debug

How to use

Setting breakpoints

In a haskell source file, click on a line number to set a breakpoint for that line.

Debugging

To debug the main function of a file, press cmd-shift-p (Mac) or ctrl-shift-p (Linux/Windows) to launch the command palette, type in haskell debug and press enter.

Exceptions

To break on exceptions, launch the command palette, type in set break on exception, press enter and select the appropriate option. Note: breaking on exception may cause the debugger to freeze in some instances. See #3.

License

Copyright © 2016 Thomas Hickman
Copyright © 2017 Atom-Haskell

Contributors (by number of commits):

  • Thomas Hickman
  • Nikolay Yakimov
  • ThomasHickman
  • DavidEichamnn

See the LICENSE.md for details.