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

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

问题描述

我正在使用 pdb 调试 Python 程序,但对它的行为不满意.

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

我将屏幕分成多个 emacs 窗口,当我执行 pdb 时,它(随机?)用 *gud* 调试器的输出替换其中一个窗口.

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)

如何禁用 gud/pdb 为我管理我的窗口?是否可以在 emacs 中防止对 windows & 的所有编程操作?屏幕布局?

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?

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

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

推荐答案

调查 粘性窗口.

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

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