Apply all breakpoints (set in other instances) to this one. Populates this instance's breaks list from the Breakpoint class's list, which can have breakpoints set by another Bdb instance. This is necessary for interactive sessions to keep the breakpoints active
(self)
| 390 | return None |
| 391 | |
| 392 | def _load_breaks(self): |
| 393 | """Apply all breakpoints (set in other instances) to this one. |
| 394 | |
| 395 | Populates this instance's breaks list from the Breakpoint class's |
| 396 | list, which can have breakpoints set by another Bdb instance. This |
| 397 | is necessary for interactive sessions to keep the breakpoints |
| 398 | active across multiple calls to run(). |
| 399 | """ |
| 400 | for (filename, lineno) in Breakpoint.bplist.keys(): |
| 401 | self._add_to_breaks(filename, lineno) |
| 402 | |
| 403 | def _prune_breaks(self, filename, lineno): |
| 404 | """Prune breakpoints for filename:lineno. |
no test coverage detected