Ticket #1162 (closed bug: invalid)
:quit doesn't always quit GHCi when stopped at a breakpoint
|Reported by:||mnislaih||Owned by:|
|Type of failure:||Difficulty:||Easy (less than 1 hour)|
|Test Case:||ghci.debugger/break010||Blocked By:|
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.