471,337 Members | 1,107 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

debug(read source code and test) pypy in pydev

I am a newbie to python and pypy. I choose to read pypy source code
to learn about python and python library. But when I try to run pypy
in debug mode in pydev, I got the following problem:
/// error message begin
pydev debugger
Traceback (most recent call last):
File "F:\TOOLS\eclipse\plugins\org.python.pydev.debug_1 .3.4\pysrc
\pydevd.py", line 754, in <module>
debugger.run(setup['file'], None, None)
File "F:\TOOLS\eclipse\plugins\org.python.pydev.debug_1 .3.4\pysrc
\pydevd.py", line 597, in run
execfile(file, globals, locals) #execute the script
File "E:\Java\pySamples\pypy\bin\py.py", line 14, in <module>
from pypy.tool import option
File "E:\Java\pySamples\pypy\tool\option.py", line 4, in <module>
from pypy.config.pypyoption import get_pypy_config
File "E:\Java\pySamples\pypy\config\pypyoption.py", line 2, in
import py, os
File "E:\Java\pySamples\pypy\bin\py.py", line 14, in <module>
from pypy.tool import option
ImportError: cannot import name option
Exception in thread pydevd.Writer (most likely raised during
interpreter shutdown):
Traceback (most recent call last):
File "C:\Python25\lib\threading.py", line 460, in __bootstrap
File "F:\TOOLS\eclipse\plugins\org.python.pydev.debug_1 .3.4\pysrc
\pydevd_comm.py", line 258, in run
/// error message end
I try to figure out why this exception or error come out. I found
that py.py import option.py, and option.py import pypyoption.py, and
pypyoption.py import py.py again. Is this the problem of pypy(I don't
think so), or the problem of pydev debugger, or something else? why?
Any comments or assistance that can light up the way are much

Wang Chunming

Jul 5 '07 #1
0 1346

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Dan Perl | last post: by
3 posts views Thread by Michael | last post: by
1 post views Thread by DazedAndConfused | last post: by
1 post views Thread by Egbert Nierop \(MVP for IIS\) | last post: by
1 post views Thread by Robert Dufour | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.