简体   繁体   中英

Stop a running command in PyDev Console

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?

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.

中断交互控制台

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM