[GHC] #1162: :quit doesn't always quit GHCi when stopped at a
breakpoint
GHC
trac at galois.com
Wed Feb 21 11:17:52 EST 2007
#1162: :quit doesn't always quit GHCi when stopped at a breakpoint
----------------------------+-----------------------------------------------
Reporter: mnislaih | Owner:
Type: bug | Status: new
Priority: lowest | Milestone: 6.8
Component: GHCi | Version: 6.7
Severity: trivial | Keywords: ghci debugger
Difficulty: Easy (1 hr) | Testcase: ghci.debugger/break010
Architecture: Unknown | Os: Unknown
----------------------------+-----------------------------------------------
The mechanism for GHCi inferior sessions used by the debugger is a bit
weak, in that it uses a exception StopParentSession to signal the desire
to exit from GHCi to the top session. If the enclosing context at which
the breakpoint is stopped is wrapped by an exception handler, that handler
could capture the exception and as a result GHCi does not exit but return
to the top level session instead.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1162>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list