Change setup_breakpoint_reporting to return a scoped_restore