crashes IDE It's now checked that the surface isn't disposed in the idle handler. I've added a check for DrawBreakpoints to prevent the native crash at that point in any case.