Open gattytto opened 4 years ago
Hi.
Could you let me know the haskell-debug-adapter version ? Is it a 0.0.34.0 ?
Regards.
I think you are using new version of ghci-dap(0.0.15.0) for the ghc-8.10. And haskell-debug-adapter also needs some modification for using with ghci-dap-0.0.15.0. (not been released yet.)
After the LTS-17 is released, I will release haskell-debuggers for ghc-8.10.3. Please wait for a while.
Regards.
ok I'll leave the workaround in current 8.10.2 until 8.10.3 support is done. Thank you
hello @phoityne I'm re-opening this issue since I see LTS-17.1 is out. So are debug-adapter and hdx4vsc going to work if ghci-dap and the rest are built against 8.10.3?
Hi.
Yes, it would work with LTS-17.1(ghc-8.10.3). I have released these versions.
Regards.
excelent, thank you for the answer, I'll close this issue after I finish the tests.
I had similar issue. I can confirm it works on mac os 11.6 with configuration above.
Hello, I know this can be worked out because I had a successful attempt once but I can't remember the config values for launch.json file.
PREFACE: Eclipse CHE is a cloud-native web-based IDE that supports eclipse Theia as editor, thus allowing to introduce vsix extensions to the editor. It uses dockerized containers to hold all the binaries each extension needs.
EXPECTED: I expect the IDE to stop at a breakpoint and let me see the values of variables in the debug session.
RESULT: the breakpoints are not loaded by the debug adapter and the execution continues until the end (the app runs and listens on a port).
THE PROBLEM: ghci seems to return an error when the breakpoints are being set:
THE WORKAROUND: renaming haskell-debug-adapter to something else results in the extension to make use of phoityn-vscode which helps OK and stops at breakpoints succesfully
this is a procps inside the sidecar container when the session is running:
the demo project is located at https://github.com/gattytto/example-servant-minimal/tree/8.10.2
this is the launch.json:
this is the log with debug verbose level for the launch.json
this is the debug console contents: