Deadlock fix with enabling breakpoints.