473,386 Members | 1,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 1435

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Dan Perl | last post by:
Is there a mechanism or an idiom for adding code for debugging so that it can easily be removed in the production code? I am thinking of something similar to the C/C++ preprocessor statements with...
by: Eddy | last post by:
Problem: In 'solution A', 'project 1' references 'project 2'. As such, when 'solution A' is built (debug mode), project '1' creates a dll in /debug, and project '2' referneces that dll. All is good....
by: Michael | last post by:
OK Guys, lets say that I've got some code that I want from time when I'm debuging but want to be able to turn off quickly. At the moment I'm doing: #define DEBUG_TEXTURE #define DEBUG_BSP...
by: DazedAndConfused | last post by:
I need to debug the code and get the value of variables in an asp 3.0 page where the javascript is being processed on the server side (i.e. within <% %. I can use...
by: yma | last post by:
Hi, Can I use VS.net to debug the code in the JavaScript (.js) file? Thank you. Chris
by: Egbert Nierop \(MVP for IIS\) | last post by:
Hi, I have had AtlTrace statements, but for file logging and debugging purposes, I wrote something similar. But when I release the code, the compiler does not 'ignore' the statements just as...
by: Robert Dufour | last post by:
IDE in Vs2005 won't let me step through the code in the application events unhandledexception event. The IDE brings up its own unhandled exception dialog which prevents me from stepping through...
by: Robert Dufour | last post by:
Great, they added a new feature I understand <GGGG>, the application events. And you have a new super event that lets you decide what to do with unhandled application errors. But its impossible to...
by: progirl | last post by:
I am just getting back into Access, I am trying to work with an inhouse Access Database System, Access 2002, XP. Please note I have yet to do anything with this system but to print out the tables...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.