ddd 在启动时挂起
当我启动 ddd 时,它似乎挂起等待 gdb。这是输出的尾部 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) "
如果我选择不同的调试器(例如 --perl
),则不会发生这种情况。我读到有关将 set prompt (gdb)
添加到 ~/.gdbinit
(末尾有空格)的信息,但这并不能解决问题。 gdb 自己启动得很好。有人知道这可能是什么吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用命令删除 ~/.ddd
remove ~/.ddd by using command
我的 inputrc 中有以下内容,将其删除修复了它:
...耸肩。
I had the following in my inputrc, removing it fixed it:
...shrug.
我遇到过这个问题和其他类似的问题,ddd 在启动时挂起。每个都已通过删除 ~/.ddd/init 进行修复
I've run into this issue and other similar ones with ddd hanging on startup. Each has been fixed by removing ~/.ddd/init