debugger: don't try and acquire Log lock in assert() when an assertion fails -- we cannot assume the lock is able to be acquired.
process: in PerProcessorScheduler::sleep, go straight to sleep after handling a pending event, rather than returning to the caller.