Emacs:防止gud& pdb从控制窗口 [英] Emacs: Preventing gud & pdb from controlling windows

查看:103
本文介绍了Emacs:防止gud& pdb从控制窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用pdb来调试Python程序,并且不满意它的行为。我将屏幕分为多个emacs窗口,当我执行pdb时,它(随机?)用* gud *调试器的输出替换其中一个窗口。



此外,当遇到断点时,即使调试缓冲区已经在窗口中可见,它通常将该缓冲区放入另一个窗口,并用源文件的内容替换我的另一个窗口。 (顺便说一句,我喜欢它跳转到源文件中的正确的行)



如何禁用gud / pdb来管理我的Windows?是否可能在emacs中防止所有的程序操纵windows&屏幕布局?



编辑:我发现在另一篇文章中部分解决了这个问题的答案:切换专用窗口

解决方案

查看粘性窗口


I'm using pdb to debug Python programs and am unhappy with it's behaviour.

I have the screen divided into multiple emacs windows, and when I execute pdb, it (randomly?) replaces one of the windows with the output of the *gud* debugger.

Also, when a breakpoint is encountered, even if the debugging buffer is already visible in a window, it usually puts this buffer into another window, and replaces another of my windows with the contents of the source file. (incidentally I like that it jumps to the correct line in the source file)

How can I disable gud/pdb from managing my windows for me? Is it possible in emacs to prevent all programattic manipulation of windows & screen layout?

Edit: I found the answer that partially solves this in another post: toggle dedicated windows

解决方案

Look into sticky windows.

这篇关于Emacs:防止gud& pdb从控制窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆