Beginning of breakpoint snapping impl