This assertion seems to be hit when capturing in debug builds during seeming normal mouse input interactions. It seems that this is some sort of unexpected re-entrancy. Will investigate.
Appears to be that we enter multiple event loop input extents when handling user inputs inside a nested run loop when the debugger is paused. This only happens when not capturing or replaying, AFAICT. We temporarily disable breakpoints before starting capturing, so this only seems to happen when neither capturing or replaying. During replay, we should never be starting run loop tasks while debugger is paused.
Created attachment 238611 [details] WIP