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

[ bsd3, development, library ] [ Propose Tags ] [ Report a vulnerability ]

Please see README.md


[Skip to Readme]

Modules

[Index]

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), 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:30Z
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-02-24T09:15:14Z
Distributions NixOS:0.0.16.0
Reverse Dependencies 3 direct, 0 indirect [details]
Executables haskell-dap
Downloads 14252 total (188 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-02-24 [all 1 reports]

Readme for haskell-dap-0.0.3.0

[back to package description]

haskell-dap

The goal is "let GHCi speak DAP".

goal.png

Information

  • [2018/02/25] Release haskel-dap-0.0.3.0.
    • [ADD] setBreakpoint, continue, scopes, stackTrace, evaluate commands.

Limitation

Currently this project is an experimental design and implementation.

  • supporting ghc-8.0.2, ghc-8.2.2
  • need stack project.
  • checked on windows7, centos7

Features

inspect variables

01_inspect_variables.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 -fprint-evld-with-show ",

IFData Design

if_data.png