python3 gdb使用教程
https://wiki.python.org/moin/DebuggingWithGdb
https://kouk.surukle.me/2014/09/25/debugging-python-objects-and-fields-with-gdb/
# py-fields
https://gist.github.com/fake-name/9ea90ec8551ee2dc3a758921c3853bec
https://kouk.surukle.me/2014/09/25/debugging-python-objects-and-fields-with-gdb/
# py-fields
https://gist.github.com/fake-name/9ea90ec8551ee2dc3a758921c3853bec
# tested in Debian apt install python3-dbg gdb -y gcore <process pid> gdb python3 <process pid> or <core dump file>
py-{up|down|} py-{list|locals|print}
# ext py-fields # run in gdb source py-fields.py py-fields self.<attr>
评论
发表评论