debugging with breakpoints