Skip to content

ghci must be restarted to use break point more than once?

When I set a break point (in main say) I stop there when I run the function, but if I run the function again the break point is ignored. Restarting ghci and resetting the break point makes it effective again, but this seems strange. Is this a bug or a feature?

Also, when I run :trace after stopping at a break point, the remainder of the function is run, and :back complains that I cannot go backwards because I am not at a break point.

Thanks, Dominick

Trac metadata
Trac field Value
Version 7.8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC hvr
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information