Online Debugging

Y

Yansky

I'm trying to debug a script on my server and it's taking forever
using print to find the error. I've tried to use the debugging
examples on this page http://webpython.codepoint.net/debugging but
they don't seem to be working for me.

Is there an easier/better way to debug online scripts? I was hoping
there might be something similar to php where it gives some error info
and the line code.

Cheers.
 
E

Eddie Corns

Yansky said:
I'm trying to debug a script on my server and it's taking forever
using print to find the error. I've tried to use the debugging
examples on this page http://webpython.codepoint.net/debugging but
they don't seem to be working for me.
Is there an easier/better way to debug online scripts? I was hoping
there might be something similar to php where it gives some error info
and the line code.

One simple method might be something along these lines:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52215

which I came across yesterday.

Eddie
 
G

Gabriel Genellina

I'm trying to debug a script on my server and it's taking forever
using print to find the error. I've tried to use the debugging
examples on this page http://webpython.codepoint.net/debugging but
they don't seem to be working for me.

Is there an easier/better way to debug online scripts? I was hoping
there might be something similar to php where it gives some error info
and the line code.

....and that's what the cgitb module does, among other things.
Why do you say it doesn't work for you?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top