我刚刚升级到 OS X 10.8 Mountain Lion,无法理解 pydev 调试器在 Aptana 3.0 上的工作方式。
在 Aptana 的首选项中,我设置了位置为“/usr/bin/python”的 python 解释器。它指出系统库来自“/System/Library/Frameworks/Python.framework/Versions/2.7/...”
当我在 Aptana 中为我的 Google App Engine 项目启动调试器时,控制台会记录:
pydev debugger: CRITICAL WARNING: This version of python seems to be incorrectly compiled (internal generated filenames are not absolute)
pydev debugger: The debugger may still function, but it will work slower and may miss breakpoints.
它还指出:
pydev debugger: Unable to find real location for: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py
pydev debugger: Unable to find real location for: /Applications/Aptana Studio 3/plugins/org.python.pydev.debug_2.2.2.2011100512/pysrc/pydevd.py
pydev debugger: Unable to find real location for: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py
...
它列出了“/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”文件夹中的所有 .py 文件。
我的应用引擎项目仍在加载,但我真的不明白为什么。我必须如何配置 Aptana 3.0,以及我的 OSX 10.7 和 10.8 之间发生了哪些变化导致这个严重警告出现?