Ticket #1162 (closed bug: invalid)

Opened 6 years ago

Last modified 4 years ago

: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: Difficulty: Easy (less than 1 hour)
Test Case: ghci.debugger/break010 Blocked By:
Blocking: Related Tickets:

Description

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

Changed 6 years ago by mnislaih

  • status changed from new to closed
  • resolution set to invalid

This doesn't apply anymore after the debugger rework.

Changed 6 years ago by igloo

  • milestone changed from 6.8 branch to 6.8.1

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple

Changed 4 years ago by simonmar

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