Python GDB

安装

apt install gdb

查看跟踪信息

strace -T -tt -e trace=all -p pid

查看进程打开的文件

lsof -p pid

gdb

gdb -p pid

查看上下文

py-list

堆栈

py-bt
py-bt-full

变量

py-print
py-locals

上下帧

py-up
py-down
posted @ 2024-09-14 09:37  vx_guanchaoguo0  阅读(8)  评论(0)    收藏  举报