[Debugger] Improved BreakEvent HitCount support

Fixes bug #12047