Try to obtain the Frame for the python bytecode interpreter in the selected GDB frame, or None
(cls)
| 1898 | |
| 1899 | @classmethod |
| 1900 | def get_selected_bytecode_frame(cls): |
| 1901 | '''Try to obtain the Frame for the python bytecode interpreter in the |
| 1902 | selected GDB frame, or None''' |
| 1903 | frame = cls.get_selected_frame() |
| 1904 | |
| 1905 | while frame: |
| 1906 | if frame.is_evalframe(): |
| 1907 | return frame |
| 1908 | frame = frame.older() |
| 1909 | |
| 1910 | # Not found: |
| 1911 | return None |
| 1912 | |
| 1913 | def print_summary(self): |
| 1914 | if self.is_evalframe(): |
no test coverage detected