aadb44ee98
python-gdb.py now handles errors on computing the line number
of a Python frame.
Changes:
* PyFrameObjectPtr.current_line_num() now catchs any Exception on
calling addr2line(), instead of failing with a surprising "<class
'TypeError'> 'FakeRepr' object is not subscriptable" error.
* All callers of current_line_num() now handle current_line_num()
returning None.
* PyFrameObjectPtr.current_line() now also catchs IndexError on
getting a line from the Python source file.
(cherry picked from commit
|
||
---|---|---|
.. | ||
2018-06-14-16-16-53.bpo-32962.2YfdwI.rst | ||
2018-06-14-16-23-07.bpo-32962.Q3Dwns.rst | ||
2018-06-15-23-07-50.bpo-29367.52w9Uq.rst | ||
2018-08-25-17-13-24.bpo-34500.Edz41x.rst | ||
2018-10-15-13-22-28.bpo-34989.hU4fra.rst | ||
README.rst |
README.rst
Put news entry ``blurb`` files for the *Tools/Demos* section in this directory.