[GHC] #3397: :step hangs when -fbreak-on-exception is set

GHC ghc-devs at haskell.org
Sat Apr 29 16:03:31 UTC 2017


#3397: :step hangs when -fbreak-on-exception is set
-------------------------------------+----------------------------------
        Reporter:  hamish            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  7.2.1
       Component:  GHCi              |              Version:  7.10.1-rc2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+----------------------------------

Comment (by George):

 this seems to be fixed in 8.2.1-rc1:

 {{{

 ghci -ignore-dot-ghci bug3397.hs
 GHCi, version 8.2.0.20170404: http://www.haskell.org/ghc/  :? for help
 [1 of 1] Compiling Main             ( bug3397.hs, interpreted ) [flags
 changed]
 Ok, modules loaded: Main.
 *Main> :set -fbreak-on-exception
 *Main> :steplocal main
 Stopped in Main.main, bug3397.hs:12:8-34
 _result :: IO () = _
 [bug3397.hs:12:8-34] [bug3397.hs:12:8-34] *Main> :steplocal
 Stopped in Main.main, bug3397.hs:12:25-33
 _result :: IO () = _

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/3397#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list