简体   繁体   English

Eclipse 在运行整个文件夹时抛出错误

[英]Eclipse throwing an error while running entire folder

When I run an entire folder with some pydev module, I am get a debugger error in Eclipse:当我运行带有某些 pydev 模块的整个文件夹时,我在 Eclipse 中遇到调试器错误:

0.06s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.

How to overcome this?如何克服这个?

As the message says, this is a warning.正如消息所说,这是一个警告。

You can silence it by setting an environment variable:您可以通过设置环境变量使其静音:

PYDEVD_DISABLE_FILE_VALIDATION=1

-- you can do that at the Environment tab in your preferences PyDev > Interpreters > Python Interpreter -- 您可以在首选项的“ Environment ”选项卡上执行此操作PyDev > Interpreters > Python Interpreter

Or you can pass -Xfrozen_modules=off in your launch configuration so that you can debug the frozen modules.或者您可以在启动配置中传递-Xfrozen_modules=off以便调试冻结的模块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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