当我运行一个包含一些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.
如何克服这一点?
1条答案
按热度按时间zphenhs41#
正如信息所言,这是一个警告。
您可以通过设置环境变量使其静音:
PYDEVD_DISABLE_FILE_VALIDATION=1
--您可以在首选项
PyDev > Interpreters > Python Interpreter
的Environment
选项卡中执行此操作或者您可以在启动配置中传递
-Xfrozen_modules=off
,以便调试冻结的模块。