+ void setWithinEventLoopInputExtent(bool withinEventLoopInputExtent)
+ {
+ // We can be within two input extents when a nested run loop
+ // processes additional user inputs while the debugger is paused.
+ // However, the debugger should not pause when capturing, and we
+ // should not replay event loop inputs while in a nested run loop.
+ ASSERT(m_withinEventLoopInputExtent != withinEventLoopInputExtent || !(isCapturing() || isReplaying()));
+ m_withinEventLoopInputExtent = withinEventLoopInputExtent;
+ }
+
+ bool withinEventLoopInputExtent() const { return m_withinEventLoopInputExtent; }
+