473,386 Members | 1,804 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.

debugger in eclipse

Hi,
I have the project, which is composed of many parts written in different languages. One part is written in Python. I would like to debug this part in eclipse, but i don't know how can i do it. I know that i can write:
import pywin.debugger
pywin.debugger.brk()
and when i run my application, it stops on the place where i put the pywin.debugger.brk() expression, but i get the ActivePython window:(
Is there any possibility to catch it in Eclipse window??

Please help me,
tusia:)
Aug 16 '06 #1
3 3358
I assume you do have Python plugin for Eclipse? It's called Pydev. You should be able to run Python debugger in Eclipse. Just make sure you have the latest Eclipse to support it. I have some problem with Python file format. Other than that, it's pretty good.
Aug 18 '06 #2
Hi,
There is Python debugger in Eclipse. But i think that there is no such possibility to put the breakpoint in Eclipse, run the application from the command line and get break at the breakpoint. In Eclipse i have to choose main module to run debugger, but there is such problem that python part of my application doesn't have main module; main module is written in different language:)
Aug 21 '06 #3
bartonc
6,596 Expert 4TB
Hi,
There is Python debugger in Eclipse. But i think that there is no such possibility to put the breakpoint in Eclipse, run the application from the command line and get break at the breakpoint. In Eclipse i have to choose main module to run debugger, but there is such problem that python part of my application doesn't have main module; main module is written in different language:)
The trick is to put
Expand|Select|Wrap|Line Numbers
  1. if __name__ == "__main__":
  2.     # set up enough to get the module running here
  3.     # so that you can debug it AS IF it were the main module.
Mar 24 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Zohar Zaltz | last post by:
Hi ppl please help me I am looking for a nice free java debugger. I am new to java. where can I find one?
7
by: max khesin | last post by:
Hi all, I was takling to someone who has been using Jython for a while. Their biggest complaint is the luck of a good debugger. I was really surprised. Isn't there anything decent out there?...
6
by: Tran Tuan Anh | last post by:
Hi all, I am new to Python and desperated to look for a good Python debugger. I mean a debugger with source coding tracking. For C/C++, emacs and gud offers execellent development env. The...
5
by: user | last post by:
Can anybody recommend a good debugger for use with g++(mingw) under Windows? I have been used to Visual C++ so all the open source offerings I have tried so far seem very crude by comparison....
13
by: python | last post by:
hello and thanks for reading this, i have been a dos/windows user using some form of the basic language for 30 years now. i own and run a small programming company and there is one feature that...
2
by: hairygerman | last post by:
Hi all, I develop my PHP code on a Windows XP box using Eclipse 3.2.2 with the PDT plug-in, and I deploy for testing purposes onto my gateway, which runs PHP 5.2 under debian etch and apache2. I...
3
by: Fabio | last post by:
Hi all, I found as the best and free editor eclipse PDT (http://www.eclipse.org/pdt/index.php) but I don't know how to use it as a debugger... breakpoints are ignored... someone can tell me how...
5
by: William Linson | last post by:
Hello, I'm searching for a good (free if possible) php debugger. Could you advise me about this ? Thanks in advance, William Linson http://www.gnoztik.com
4
by: just.another.random.user | last post by:
Hi All, I'm switching to python from perl, and like the language a ton, but I find pdb and pydb to be vastly inferior debuggers to the perl version. In particular, I've grown very used to...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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...

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.