在PyDev控制台中停止正在运行的命令 [英] Stop a running command in PyDev Console

查看:151
本文介绍了在PyDev控制台中停止正在运行的命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用PyDev控制台运行长脚本,并且经常希望在命令中间停下来.在常规的python shell中,我按ctrl + c,它将通过键盘中断停止命令.但是在PyDev控制台中,它会执行文本复制.

I use the PyDev console to run long scripts, and often I wish to stop in the middle of a command. In a regular python shell I press ctrl+c and it stops the command with keyboard interrupt. But in PyDev consoles it does a text copy instead.

如何在不终止命令的情况下在此控制台中停止命令?

How do I stop a command in this console without terminating it?

推荐答案

如果您是从带有新PyDev的交互式控制台中运行脚本(不确定此功能到达的版本),则可以按黄色停止键来实现您的目标想要.

If you are running the scripts from an interactive console with newish PyDev (not sure which version this feature arrived) then you can press the Yellow stop to achieve what you want.

如果您只是在运行脚本(而不是通过交互式控制台),那么我建议在PyDev上请求功能. https://sw-brainwy.rhcloud.com/

If you are simply running the script (not via the interactive console) then I recommend a feature request at PyDev. https://sw-brainwy.rhcloud.com/

这篇关于在PyDev控制台中停止正在运行的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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