I'm not sure to be on the right path with the debugging stuff. I'm used to JSP/servlet world where debuging from eclipse is simple and fast to understand... But maybe I should enforce my tetsing classes and run them instead of debug. The thing is how to get information on identity, catwalk and all other package if not by debugging it ? noticing identity.current object content etc etc... ???

Thanks I'll try the autoreload stuff
Ben
Le 10 nov. 05 à 20:28, Kevin Dangoor a écrit :


Hi Benoit,

Crazy though it may seem, I do most of my debugging through a
combination of unit tests and log/print statements. There has been the
rare occasion when I've fired up pdb, but generally I can move pretty
quickly without.

To run inside of Eclipse, you may find that you need to set
server.environment='production' in order to turn off autoreload.
autoreload forks off a child process to run the real program, and that
might confuse things. If that doesn't help, you should send the error
to the list.

Other than autoreload, it should be possible to debug a running
TurboGears instance.

Kevin

On 11/10/05, Benoit Masson <[EMAIL PROTECTED]> wrote:

Hi, I'm newbie to python, I came from Java world and as a matter I
use eclipse IDE to develop python with python plugin. By the way any
suggestion on other great environment with python completion and
debug on mac os X/Linux would be appriceate. I'd like to debug the
code I've made. So I've tried to run the TG start script from eclipse
debug but when I hit http://localhost:8080/ I get an error.
Is this the eclipse python plugin or is it impossible to debug
turbogears running instance ?
How would you do to debug your code except with using print every
where in the code ?

Thanks.
Benoit




--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com


Reply via email to