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
精彩评论