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
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 issueFor example, consider the following code
This will result in a compilation failure (
3
is not a string - should beputStrLn $ show 3
) however when you attempt to run this underhaskell-debug-adapter
, the debugger just keeps running indefinitely as if the program is still going