better error handling for errors with breakpoints (#break)