Is this a _PyEval_EvalFrameDefault frame?
(self)
| 1773 | return False |
| 1774 | |
| 1775 | def is_evalframe(self): |
| 1776 | '''Is this a _PyEval_EvalFrameDefault frame?''' |
| 1777 | if self._gdbframe.name() == EVALFRAME: |
| 1778 | ''' |
| 1779 | I believe we also need to filter on the inline |
| 1780 | struct frame_id.inline_depth, only regarding frames with |
| 1781 | an inline depth of 0 as actually being this function |
| 1782 | |
| 1783 | So we reject those with type gdb.INLINE_FRAME |
| 1784 | ''' |
| 1785 | if self._gdbframe.type() == gdb.NORMAL_FRAME: |
| 1786 | # We have a _PyEval_EvalFrameDefault frame: |
| 1787 | return True |
| 1788 | |
| 1789 | return False |
| 1790 | |
| 1791 | def is_other_python_frame(self): |
| 1792 | '''Is this frame worth displaying in python backtraces? |
no test coverage detected