fix breakpoint deadlock bug