键入gdb命令时,Emacs被冻结

时间:2017-07-04 06:16:09

标签: emacs gdb

环境:Windows 7,emacs-25.2

我使用gdb-mi(gdb很多窗口)来调试我的程序,直到我尝试使用命令“(gdb)命令”键入断点命令

......
(gdb) run
(gdb) break 7
(gdb) commands
Type commands for breakpoint(s) 2, one per line.
End with a line saying just "end".
>sile -- Oops emacs frozen

Emacs冻结了一条警告消息“阻止调用accept-process-output并禁止退出!!”

遗憾的是,“C-g”,“ESC”,“C-”“不禁强行退出

如何解决此问题? TX

有一些解释为什么“禁止戒烟”发生

1)Link

It means just that: accept-process-output is called in a way that can 
block (e.g. because some remote host doesn't respond) wit inhibit0quit 
set to a non-nil value, which means that Emacs may end up frozen (with 
no way to wake it up) for as long as the remote machine decides not 
to answer. 

2)Link

The Blocking call message is an emacs "bug" as far as I can tell. It happens 
when you call an external program (like javac) from a timer, as flycheck 
would do.

0 个答案:

没有答案