-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to debug project that have some module dependency #51
Comments
Could you let me know these versions?
(seems like using old versions.) |
Thankyou for the reply The Glorious Glasgow Haskell Compilation System, version 8.8.3 I use stack and cabal try to install haskell-debug adapter using cabal Warning: The package list for 'hackage.haskell.org' is 92 days old. i reinstalled haskell-dap, but it said deprecated. |
Could you remove "phoityne-vscode" and "haskell-dap" binary files ? And let me know launch.json file. |
Thankyou for the quick reply. Where should i remove the binary files? in the vscode folder?
|
It would be in the "$HOME/.local/bin".
|
I try to debug main.hs that depend on other module.
when i tried to compile in terminal such as "ghci main.hs" , it produced below
GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help
[1 of 6] Compiling Queue ( Queue.hs, interpreted )
[2 of 6] Compiling Logic ( Logic.hs, interpreted )
[3 of 6] Compiling Parser ( Parser.hs, interpreted )
[4 of 6] Compiling Resolve ( Resolve.hs, interpreted )
[5 of 6] Compiling GenProof ( GenProof.hs, interpreted )
[6 of 6] Compiling Main ( main.hs, interpreted )
Ok, modules loaded: GenProof, Logic, Main, Parser, Queue, Resolve.
*Main> main
--output--
i manage to debug in main.hs but when it change to other module , nothing show up on screen . is there way to fix this?
H>>= [WARNING][REQUEST] unsupported request command. {"command":"source","arguments":{"sourceReference":0,"source":{"name":null,"path":"./Parser.hs","sourceReference":null,"origine":null}},"type":"request","seq":38}
:dap-scopes ...
H>>= :dap-variables ...
The text was updated successfully, but these errors were encountered: