Skip to content

Hang in GHCi debugger

GHCi hangs when loading a file after stopping at an exception breakpoint:

$ cd testsuite/tests/ghc-regress/ghci.debugger/scripts
$ ../../../../../inplace/bin/ghc-stage2 --interactive break024 -fbreak-on-error
GHCi, version 7.1.20110227: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
[1 of 1] Compiling Main             ( break024.hs, interpreted )
Ok, modules loaded: Main.
*Main> exception_uncaught 
Stopped at <exception thrown>
_exception :: e = _
[<exception thrown>] *Main> :l break024
^CInterrupted.
*Main> 
Trac metadata
Trac field Value
Version 7.0.1
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information