Return True if there is any breakpoint in that frame
(self, frame)
| 487 | raise NotImplementedError("subclass of bdb must implement do_clear()") |
| 488 | |
| 489 | def break_anywhere(self, frame): |
| 490 | """Return True if there is any breakpoint in that frame |
| 491 | """ |
| 492 | filename = self.canonic(frame.f_code.co_filename) |
| 493 | if filename not in self.breaks: |
| 494 | return False |
| 495 | for lineno in self.breaks[filename]: |
| 496 | if self._lineno_in_frame(lineno, frame): |
| 497 | return True |
| 498 | return False |
| 499 | |
| 500 | def _lineno_in_frame(self, lineno, frame): |
| 501 | """Return True if the line number is in the frame's code object. |
no test coverage detected