Merge "Fix event reporting from the debugger thread"