Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建设增加 使用文件来调试正在运行程序 #18

Open
csdchen opened this issue May 14, 2019 · 0 comments
Open

建设增加 使用文件来调试正在运行程序 #18

csdchen opened this issue May 14, 2019 · 0 comments

Comments

@csdchen
Copy link

csdchen commented May 14, 2019

-pid number
-p number
连接到进程ID 号
-command file
-x file
从file文件执行命令

ex:ps -x | grep 进程名
获取进程id 例: 2018
ex: gdb -pid 2018 -x gdb.txt

gdb.txt文件内容格式如:
b main.cpp:20
c
p a
q

本来想自己写一个md文件上传到分支的, 但创建一看, 编辑格式没找到, 上传了一个空文档

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant