fix source refs for breakpoints inserted in nested functions and loops