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

[ bsd3, development, library ] [ Propose Tags ]

Please see README.md


[Skip to Readme]

Modules

[Index] [Quick Jump]

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 0.0.11.0, 0.0.12.0, 0.0.13.0, 0.0.14.0, 0.0.15.0, 0.0.16.0
Change log Changelog.md
Dependencies array, base (>=4.7 && <5), bytestring, containers, deepseq, directory, filepath, ghc (>=8.0 && <8.1 || >=8.2 && <8.3 || >=8.4 && <8.5), 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 2019-01-08T18:34:34Z
Category Development
Home page https://github.com/phoityne/haskell-dap
Bug tracker https://github.com/phoityne/haskell-dap/issues
Uploaded by phoityne_hs at 2018-09-24T08:36:36Z
Distributions NixOS:0.0.16.0
Reverse Dependencies 3 direct, 0 indirect [details]
Executables haskell-dap
Downloads 13102 total (142 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-09-24 [all 1 reports]

Readme for haskell-dap-0.0.8.0

[back to package description]

haskell-dap

The goal is "let GHCi speak DAP".

goal.png

Information

  • [2018/09/24] Release haskel-dap-0.0.8.0.
    • [ADD] GHCi gobal scope reference.

Limitation

Currently this project is an experimental design and implementation.

  • supporting ghc-8.0, ghc-8.2, ghc-8.4
  • 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