Opened 11 years ago

Closed 10 years ago

Last modified 8 years ago

#1162 closed bug (invalid)

:quit doesn't always quit GHCi when stopped at a breakpoint

Reported by: mnislaih Owned by:
Priority: lowest Milestone: 6.8.1
Component: GHCi Version: 6.7
Keywords: ghci debugger Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case: ghci.debugger/break010
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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.

Change History (5)

comment:1 Changed 10 years ago by mnislaih

Resolution: invalid
Status: newclosed

This doesn't apply anymore after the debugger rework.

comment:2 Changed 10 years ago by igloo

Milestone: 6.8 branch6.8.1

comment:3 Changed 9 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:4 Changed 9 years ago by simonmar

Operating System: UnknownUnknown/Multiple

comment:5 Changed 8 years ago by simonmar

difficulty: Easy (1 hr)Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.