开发者

ddd hangs on start

开发者 https://www.devze.com 2022-12-11 01:22 出处:网络
When I start ddd, it seems hang waiting for gdb. Here is the tail end of output ddd --trace: #Saving session in \"/home/kbrandt/.ddd/sessions/106d7eb3d567f23b01125736049734486400000041300582/init\"..

When I start ddd, it seems hang waiting for gdb. Here is the tail end of output ddd --trace:

#  Saving session in "/home/kbrandt/.ddd/sessions/106d7eb3d567f23b01125736049734486400000041300582/init"...
#  Saving session in "/home/kbrandt/.ddd/sessions/106d7eb3d567f23b01125736049734486400000041300582/init"...done.
2009.11.04 13:48:17
<- "(gdb)  "

This doesn't happen if I pick a different debugger like --perl. I read about adding set prompt (开发者_运维问答gdb) to ~/.gdbinit (space at end), but that doesn't fix it. gdb starts fine on its own. Anyone know what this might be?


remove ~/.ddd by using command

sudo rm -rf ~/.ddd


I had the following in my inputrc, removing it fixed it:

\C-j": "|less\C-m

...shrug.


I've run into this issue and other similar ones with ddd hanging on startup. Each has been fixed by removing ~/.ddd/init

rm ~/.ddd/init
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号