haskell-dap: haskell-dap is a GHCi having DAP interface.

[ bsd3, development, library, program ] [ Propose Tags ]

Please see README.md


[Skip to Readme]
Versions 0.0.1.0, 0.0.2.0, 0.0.3.0, 0.0.4.0, 0.0.5.0, 0.0.6.0, 0.0.7.0, 0.0.8.0, 0.0.9.0, 0.0.10.0, 0.0.10.1
Change log Changelog.md
Dependencies array, base (>=4.7 && <5), bytestring, containers, deepseq, directory, filepath, ghc (==8.0.* || ==8.2.* || ==8.4.* || ==8.6.*), ghc-boot, ghc-paths, ghci, haskeline, haskell-dap, process, text, time, transformers, unix, Win32 [details]
License BSD-3-Clause
Copyright 2017-2018 phoityne_hs
Author phoityne_hs
Maintainer phoityne.hs@gmail.com
Revised Revision 1 made by HerbertValerioRiedel at Tue Jan 8 18:34:29 UTC 2019
Category Development
Home page https://github.com/phoityne/haskell-dap
Bug tracker https://github.com/phoityne/haskell-dap/issues
Uploaded by phoityne_hs at Tue Jan 8 12:51:09 UTC 2019
Distributions NixOS:0.0.10.1
Executables haskell-dap
Downloads 794 total (200 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2019-01-08 [all 3 reports]

Modules

  • GHCi
    • DAP
      • GHCi.DAP.IFData

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for haskell-dap-0.0.10.1

[back to package description]

haskell-dap

The goal is "let GHCi speak DAP".

goal.png

Information

  • [2018/12/15] Release haskel-dap-0.0.10.0.
    • [MODIFY] supported ghc-8.6

Limitation

Currently this project is an experimental design and implementation.

  • supporting ghc-8.0, ghc-8.2, ghc-8.4, ghc-8.6
  • need stack project.
  • checked on windows7, centos7

Features

inspect watch

01_inspect_variables.gif

inspect hoover

02_inspect_hoover.gif

inspect repl

03_inspect_repl.gif

logpoint

04_log_point.gif

break condition

05_break_exp.gif

break hit count

06_break_hitcount.gif

Install

install vscode and phoityne extension.

Run stack install

% stack install haskell-dap
  . . . . .
Copied executables to C:\Users\[USERNAME]\AppData\Roaming\local\bin:
- haskell-dap.exe

%

Configuration

Add --with-ghc option to ghciCmd variable in the vscode launch.json.

"ghciCmd": "stack ghci --with-ghc=haskell-dap --test --no-load --no-build --main-is TARGET --ghci-options -fghci-hist-size=5 --ghci-options -fprint-evld-with-show ",

IFData Design

if_data.png

Sequences

Overview.

seq1.png

Debugging details.

seq2.png