Skip to content

Ignore breakpoint for a specified number of iterations. Fix #19157

Roland Senn requested to merge RolandSenn/ghc:T19157 into master
  • Implement new debugger command :ignore to set an ignore count for a specified breakpoint.

  • Allow new optional parameter on :continue command to set an ignore count for the current breakpoint.

  • In the Interpreter replace the current Word8 BreakArray with an Int array.

  • Change semantics of values in BreakArray to:

    • n < 0 : Breakpoint is disabled.
    • n == 0 : Breakpoint is enabled.
    • n > 0 : Breakpoint is enabled, but ignores next n iterations.
  • Adapt :enable/:disable processing as a special case of :ignore.

  • Remove references to BreakArray from ghc/UI.hs.

Edited by Roland Senn

Merge request reports