简体   繁体   中英

EclipseFP debugger doesnot stop on breakpoints

I set breakpoints in the source files, when run the Main module in debug mode, there is non-stop in the breakpoints! Am I missing something?

I also tried the tiny little toy example:

module Main where

import qualified Data.Set as S

test :: Int -> String
test num = show num

main::IO()
main = do                                                                            
   print $ test 2

break points set before test num and print $ test 2 , neither place works

Could it be that you are setting the wrong kind of breakpoint? Haskell breakpoints seem to be set with the "Toggle breakpoint" command. You have to be in the Haskell or Debug perspective for this command to be enabled.

In my case, I accidentally used the "Add breakpoint" command which sets a Python breakpoint.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM