473,769 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

debug(read source code and test) pypy in pydev

Hi,
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\eclip se\plugins\org. python.pydev.de bug_1.3.4\pysrc
\pydevd.py", line 754, in <module>
debugger.run(se tup['file'], None, None)
File "F:\TOOLS\eclip se\plugins\org. python.pydev.de bug_1.3.4\pysrc
\pydevd.py", line 597, in run
execfile(file, globals, locals) #execute the script
File "E:\Java\pySamp les\pypy\bin\py .py", line 14, in <module>
from pypy.tool import option
File "E:\Java\pySamp les\pypy\tool\o ption.py", line 4, in <module>
from pypy.config.pyp yoption import get_pypy_config
File "E:\Java\pySamp les\pypy\config \pypyoption.py" , line 2, in
<module>
import py, os
File "E:\Java\pySamp les\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\li b\threading.py" , line 460, in __bootstrap
File "F:\TOOLS\eclip se\plugins\org. python.pydev.de bug_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
appreciated.Tha nks.

Wang Chunming

Jul 5 '07 #1
0 1456

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

Similar topics

9
2024
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 which you can compile an application with the debug code or without it (the default). Dan
1
1677
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. When 'solution A' is built in release mode however, 'project 1' is recompiled and the new dll is put into '/release', but 'project 2' still references the dll from project '1's /debug folder, and as such is compiled using the older /debug version of...
3
2216
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 #define DEBUG_COLLISION
1
1357
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 Response.Write("window.alert(".etc")"); for text messages to tell me where i am in the code, but I cannot seem to figure out how to display values of the variables... Any ideas for a newbie to this?
1
1471
by: yma | last post by:
Hi, Can I use VS.net to debug the code in the JavaScript (.js) file? Thank you. Chris
1
1313
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 it does with TRACE or ATLTRACE etc statements. Is there a trick to get this behaviour?
1
928
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 further code. What do I need to do to be able to step through code in the applicationevents unhandledexception event. I posted a few days ago and got no reply, sorry to repost, maybe someone has an answer, this is a hangup for my app and I really...
3
2541
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 single step through the code you write in it if you throw and unhandled exception in your code in the IDE to test what you wrote. Great thinking guys! Anybody found a way around this spark of genius? Any insight would be appreciated.
4
2386
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 and code. Problem: I can get to the code behind one of the forms, but I can edit it, whenever I choose any of the Debug Features nothing happens, it's as though I did not select anything to do. Suggestions? ...
0
9589
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10216
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8873
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3965
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.