Add generate breakpoints

No need to repeat comments