Return True if there is any breakpoint in that frame
(self, frame)
| 478 | raise NotImplementedError("subclass of bdb must implement do_clear()") |
| 479 | |
| 480 | def break_anywhere(self, frame): |
| 481 | """Return True if there is any breakpoint in that frame |
| 482 | """ |
| 483 | filename = self.canonic(frame.f_code.co_filename) |
| 484 | if filename not in self.breaks: |
| 485 | return False |
| 486 | for lineno in self.breaks[filename]: |
| 487 | if self._lineno_in_frame(lineno, frame): |
| 488 | return True |
| 489 | return False |
| 490 | |
| 491 | def _lineno_in_frame(self, lineno, frame): |
| 492 | """Return True if the line number is in the frame's code object. |
no test coverage detected