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

Debugger Doesn't Terminate on Error #14

Open
lordmilko opened this issue May 30, 2020 · 0 comments
Open

Debugger Doesn't Terminate on Error #14

lordmilko opened this issue May 30, 2020 · 0 comments

Comments

@lordmilko
Copy link

In Visual Studio and Visual Studio Code, when haskell-debug-adapter runs into an error it continues running indefinitely, until the user terminates the debugger. The debugger should automatically halt when a problem occurs so that the user can rectify the issue

For example, consider the following code

module Main where

main = do
  putStrLn 3

This will result in a compilation failure (3 is not a string - should be putStrLn $ show 3) however when you attempt to run this under haskell-debug-adapter, the debugger just keeps running indefinitely as if the program is still going

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

1 participant