[BangPypers] Turbogears Pydev debugging in Eclipse

Harpreet harpreetsingh101 at hotmail.com
Tue Jun 23 10:13:00 CEST 2009



-----Original Message-----
From: bangpypers-bounces+harpreetsingh101=hotmail.com at python.org
[mailto:bangpypers-bounces+harpreetsingh101=hotmail.com at python.org] On
Behalf Of Parthan SR
Sent: Friday, February 27, 2009 3:52 PM
To: Bangalore Python Users Group - India
Subject: Re: [BangPypers] Turbogears Pydev debugging in Eclipse

Harpreet Singh wrote:
> Hi,
> I come from the .Net/visual studio environment and i am pretty new to 
> the Turbogears 1.0.4.4 and/or python world.
> I would like to know if pydev in Eclipse 3.2 supports breakpoint 
> debugging of a Turbogears web application?
> If yes, this would mean setting a break point in the .py file and 
> doing a step through/step into of the code, while the web page is 
> displayed in the browser. Am i correct?

I am not sure how to do it in an IDE (for the fact I never used anything 
other than Emacs) but you should still be able to make use of pdb. It 
might not be as good as break point function you are looking for, but 
yes it allows you to step through the code (from the point you call 
pdb.set_trace()) in an web app. I have used it with Django and Pylons.

-- 
With Regards,
Parthan SR "technofreak"

GPG Key     2FF01026
Fingerprint 5707 ECBD 8D8D 8E6E 28F8  DFA5 938B D861 2FF0 1026
Weblog      http://blog.technofreak.in

_______________________________________________
BangPypers mailing list
BangPypers at python.org
http://mail.python.org/mailman/listinfo/bangpypers
_______________________________________________

Figured out, that it is possible to set break points, step through and
debug. Some of the things were not very obvious.
Others who face problems could check up this link:

http://rowsandcolumns.blogspot.com/2009/06/turbogears-debugging-in-eclipse.h
tml

I have tried to put down some things to check up.

Regards,
Harpreet



More information about the BangPypers mailing list