在emacs(使用gud)调试通常会导致堆栈溢出错误 [英] Debugging in emacs (with gud) often results in stack overflow error
本文介绍了在emacs(使用gud)调试通常会导致堆栈溢出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在调试emacs时收到此消息:
I'm getting this message in emacs when debugging:
error in process filter: gdb-stack-list-locals-handler: Stack overflow in regexp matcher
error in process filter: Stack overflow in regexp matcher
然后我必须杀死gdb并重新启动调试会话。
I then have to kill gdb and restart the debugging session.
任何想法?
推荐答案
嗯,我可以告诉你,这可能是由于一个正则表达式试图运行在一条长线上。 Emacs的正则表达式实现是...缺乏的。您可以执行一个 Mx toggle-debug-on-error
并获取堆栈跟踪 - 遵循这些文件可能会引导您使用regexp的罪魁祸首。
Well, I can tell you that this is probably due to a regexp trying to be run over a long line. Emacs' regexp implementation is ... kinda lacking. You can do a M-x toggle-debug-on-error
and get a stack trace -- following the files there will likely lead you to the regexp culprit.
到目前为止,我还不知道。如果你发现,让我知道;)
As far as working around it goes, I really don't know yet. If you find out, let me know ;)
这篇关于在emacs(使用gud)调试通常会导致堆栈溢出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文