473,672 Members | 2,539 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 1448

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

Similar topics

9
2020
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
1668
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
2211
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
1354
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
1466
by: yma | last post by:
Hi, Can I use VS.net to debug the code in the JavaScript (.js) file? Thank you. Chris
1
1307
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
925
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
2534
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
2383
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
8486
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
8404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8931
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
8828
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7446
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...
1
6238
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5705
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
4418
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1816
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.