
#14950: GHC 8.2.2: GHCi duplicates breakpoint range prompt -------------------------------------+------------------------------------- Reporter: lierdakil | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: GHCi | Version: 8.2.2 Resolution: fixed | Keywords: debugger Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RolandSenn): * status: new => closed * resolution: => fixed Comment: With GHC 8.2.2 and GHC 8.4.4 I get the same result as @lierdakil above: {{{ roland@goms:~/Projekte/ghctest/T14950$ ghci GHCi, version 8.4.4: http://www.haskell.org/ghc/ :? for help Prelude> :l T14950.hs [1 of 1] Compiling Test ( T14950.hs, interpreted ) Ok, one module loaded. *Test> :break test Breakpoint 0 activated at T14950.hs:3:8-16 *Test> :trace test Stopped in Test.test, T14950.hs:3:8-16 _result :: IO () = _ [T14950.hs:3:8-16] [T14950.hs:3:8-16] *Test> }}} However with GHC 8.6.1 and higher (8.6.2 and GHCHEAD-8.7.20181124) there is no more a double prompt: {{{ GHCi, version 8.6.1: http://www.haskell.org/ghc/ :? for help Prelude> :l T14950.hs [1 of 1] Compiling Test ( T14950.hs, interpreted ) Ok, one module loaded. *Test> :break test Breakpoint 0 activated at T14950.hs:3:8-16 *Test> :trace test Stopped in Test.test, T14950.hs:3:8-16 _result :: IO () = _ [T14950.hs:3:8-16] *Test> }}} Hence, this has been fixed! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14950#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler