无法停止代码块中的调试进程
我正在 ubuntu 中运行代码块。每当我调试程序并继续退出调试模式时,调试进程都会挂起并且不会终止。我通常会重新启动代码块来解决这个问题。是否有其他人遇到过这个问题并有潜在的解决方案。谢谢。 编辑:我正在运行代码块 10.05,如果这有什么区别的话
I am running code blocks in ubuntu. Whenever i debug my program and continue out of the debugging mode , the debug process hangs and does not get terminated. I usually restart code blocks to fix this.Has anyone else faced this issue and have a potential solution. Thanks.
Edit: i am running code blocks 10.05 if that makes any difference
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有同样的问题,看来 Code::blocks 的错误尚未修复。您可以通过按“清理并重建”按钮旁边的红色“X”来手动终止调试进程。这将终止调试器进程。
该错误的早期报告是在 2007 年,已经 5 年了,还没有修复。 (我仍然坚信 C::B 是最好的开源 IDE 之一。最后一天,我尝试为最新的 mingw 实验快照配置 netbeans,但失败了,而 C::BI 成功了,并在几分钟内完成了)。
作为旁注,在运行防病毒软件时,使用“X”终止或关闭控制台而不等待应用程序自行终止会导致 Windows Vista 上有时出现蓝屏,因此,如果在调试时必须多次重新启动计算机,请耐心等待(仍然更喜欢 winXP)或 ubuntu 来调试某些东西。)
I have the same problem, it seems a bug Code::blocks haven't fixed yet. You can manually terminate debuggin process by pressin the red "X" beside the "clean and rebuild" button. That will terminate the debugger process.
the earlier report of this bug was in 2007, 5 years and no fix yet. (I'm still convinced that C::B is one of the best opensource IDEs. last day I tried to configure netbeans for latest mingw experimental snapshot and failed, with C::B I was successfull and did that in few minutes).
As side note, terminating anithing with "X" or by closing console without waiting for application to terminate itself gives sometime bluescreen on windows Vista when antivirus is running, so be patient if you have to reboot your pc many times when debugging (still prefers winXP or ubuntu for debugging something.)
您可以尝试:
这使您不在调试模式下测试程序,因此没有调试器,只需编译并运行。
祝你好运。
You can try:
This makes you not test the program in debug mode so there is no debugger, just compile and run.
Good luck.