Skip to content

:step hangs when -fbreak-on-exception is set

Stepping through code (that I can step through fine when -fbreak-on-exception is no set) hangs at the same place each time. The function I started stepping was in one module and the hang was in another (not sure if this is significant).

Ctrl+C returns to the prompt (no other output) and a further :step at that point causes a "not at breakpoint".

I wonder if the flag is causing something to be evaluated a second time (I understand that can cause :step to hang).

Erik first noticed the problem in Leksah, but I can reproduce it in GHCi without using Leksah to control it.

I'll try to get a minimal test case together.

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