patch applied (ghc): A partial attempt to improve :stepover
Pepe Iborra
mnislaih at gmail.com
Wed Aug 22 05:15:37 EDT 2007
Wed Aug 22 02:08:44 PDT 2007 Pepe Iborra <mnislaih at gmail.com>
* A partial attempt to improve :stepover
With this patch, :stepover can effectively appear to step over recursive calls and
calls to locally bound functions (in a where clause).
However, when we run out of ticks in the current expression,
the illusion vanishes and laziness brings us to the body of the last function
we "stepped over".
This is not desired at all, it is potentially very confusing.
As a countermeasure, when this happens :stepover emits a warning
"Warning: no more breakpoints in this function body, switching to :step"
M ./compiler/ghci/InteractiveUI.hs -16 +30
M ./compiler/main/GHC.hs -1 +6
M ./compiler/main/InteractiveEval.hs +15
More information about the Cvs-ghc
mailing list