Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the purpose of the ghci-dap wrapper? #7

Open
mpickering opened this issue May 17, 2019 · 1 comment
Open

What is the purpose of the ghci-dap wrapper? #7

mpickering opened this issue May 17, 2019 · 1 comment

Comments

@mpickering
Copy link

The purpose of the ghci-dap wrapper is not documented. My understand was that the program worked by spawning a ghci session (as specified by the user) and then sending commands to GHCi to interact with the debugger.

Forcing the use of the wrapper seems a lot less flexible.

@phoityne
Copy link
Owner

The main purpose of ghci-dap is getting binding variable hierarchical detail information from ghci.

Almost debugging information can be gotten by parsing ghci pretty-printed string result.
Actually, phoityne-vscode.exe is doing this, as much as possible.
(although it is hard and difficult thing, because of flexibility of TEXT result.)

Bindings variable inspection is too hard by getting parsing repl TEXT result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants