These are changes that we made locally to aid in a recent troubleshooting effort. Mainly this adds logging when enqueuing events received from the DevTools websocket to be processed by dispatchEvents:
Log when the event queue is full
Debug log when a message is about to be enqueued. This identifies when the event was received from DevTools, which is helpful in cases when the processing is delayed (because the queue is full).
Debug log when a message has been enqueued. In cases where the queue is full, this helps quantify the delay.
These are changes that we made locally to aid in a recent troubleshooting effort. Mainly this adds logging when enqueuing events received from the DevTools websocket to be processed by
dispatchEvents
: