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

qrjkbowd  于 2023-01-19  发布在  Python
关注(0)|答案(1)|浏览(1608)

当我运行一个包含一些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.

如何克服这一点?

zphenhs4

zphenhs41#

正如信息所言,这是一个警告。
您可以通过设置环境变量使其静音:
PYDEVD_DISABLE_FILE_VALIDATION=1
--您可以在首选项PyDev > Interpreters > Python InterpreterEnvironment选项卡中执行此操作
或者您可以在启动配置中传递-Xfrozen_modules=off,以便调试冻结的模块。

相关问题