.gdbinit文件配置

.gdbinit文件配置

#打印数组的索引下标

set print array-indexes on



#每行打印一个结构体成员

set print pretty on



#除了断点有关的线程会被停下来,其他线程会执行执行

set target-async 1

set pagination off

set non-stop on



#gdb中的套接字等关闭了,往里面写就会报错

handle SIGPIPE nostop noprint ignore

  

猜你喜欢

转载自www.cnblogs.com/coder-zyc/p/9839487.html
今日推荐