[GHC] #1681: :abandon in an exception breakpoint can lead ghci to freeze later

GHC trac at galois.com
Tue Sep 11 06:30:24 EDT 2007


#1681: :abandon in an exception breakpoint can lead ghci to freeze later
-----------------------+----------------------------------------------------
  Reporter:  mnislaih  |          Owner:  simonmarhaskell at gmail.com
      Type:  bug       |         Status:  new                      
  Priority:  normal    |      Milestone:  6.8                      
 Component:  GHCi      |        Version:  6.8                      
  Severity:  normal    |       Keywords:  debugger                 
Difficulty:  Unknown   |             Os:  Unknown                  
  Testcase:  break025  |   Architecture:  Unknown                  
-----------------------+----------------------------------------------------
An example:
 {{{
 Prelude> :set -fbreak-on-exception
 Prelude> error "an error"
 Stopped at <exception thrown>
 _exception :: e = GHC.IOBase.ErrorCall ('a' : _)
 unable to list source for <exception thrown>
 [<exception thrown>] Prelude> :abandon
 Prelude> ()  -- whatever we do here, ghci freezes
 ()
 ...
 ...
 ^CInterrupted.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1681>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list