我安装了python2.7-dbg,但是当我使用它时,我发现了一些错误:
(gdb) py-list
Python Exception <class 'gdb.error'> No frame is currently selected.:
Error occurred in Python command: No frame is currently selected.
我该如何解决这个问题? 我通过列表步骤使用它:
➜ test ps ux | grep test.py
liangpi+ 31798 99.1 0.0 32640 6340 pts/11 RN 14:20 33:41 python test.py
1.gdb python 31798
2。((gdb)py-list