Save breakpoints active state before performing a breakpoint scan, and restore to that state once the scan ends.