[英]cgdb doesn't exit: determining why and fixing
After I run a program through cgdb
, cgdb
won't exit. 通过
cgdb
运行程序cgdb
, cgdb
将不会退出。 Typing kill
, then quit
results in cgdb
hanging. 键入
kill
,然后quit
导致cgdb
挂起。
If I do not load a file in the debugger, quit
works. 如果我没有在调试器中加载文件,则
quit
工作。 If I load a file but do not run it, quit
works. 如果我加载文件但不运行它,则
quit
工作。 If I run
the file, quit
hangs. 如果我
run
该文件, quit
挂起。
How do I: 我如何:
cgdb
(because I have to ps aux ; kill
it, or close the terminal
window, etc). cgdb
的返回值(因为我必须ps aux ; kill
它,或关闭terminal
窗口,等等)。 I can't find any references to other people with this issue online, either. super-cool-command
I can run to force-kill the debugger on quit
? super-cool-command
来在quit
强制杀死调试器? Further details: 更多详情:
cgdb
with macports
. macports
安装了cgdb
。 Running port upgrade outdated
has not resolved this issue. port upgrade outdated
无法解决此问题。 cgdb --version
returns: CGDB 0.6.6
cgdb --version
返回: CGDB 0.6.6
uname -a
: Darwin Kernel Version 12.2.0 uname -a
:Darwin内核版本12.2.0 OS X 10.8.2
. OS X 10.8.2
。 Pretty sure this is fixed in cgdb-0.6.7. 可以肯定的是,此问题已在cgdb-0.6.7中修复。 Here's the issue: https://github.com/cgdb/cgdb/issues/1
这是问题所在: https : //github.com/cgdb/cgdb/issues/1
Homebrew has the latest cgdb in it, or you could compile from source. Homebrew中包含最新的cgdb,或者您可以从源代码进行编译。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.