Debugging question: Print out program state (Variables)

Gabriel Genellina gagsl-py at yahoo.com.ar
Fri Oct 6 21:53:15 EDT 2006


At Friday 6/10/2006 12:53, Josh Bloom wrote:

>What I would like to do is write out the state of my script when an 
>error is encountered. I've been looking at the traceback module and 
>think Im on the right track, but I haven't figured out a way to 
>write out all of the programs current variables. Is there a handy 
>module that can do something like that?

Yes, look at the cgitb module (the name is a bit misleading...)


Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list