dynamic method which can be debugged

F

Florian Reiser

Hello,

I have programmed a zope product generating a pdf-document on the fly with
the reportlab library.
In the product I insert a instance of my class in the object database
customizing variables containing the code for the page layout
and the page content.
At the moment I use compile and exec to use the code.
However if an error occurs it is very difficult to locate it, because I
cannot use pdb to debug my dynamic method, where the
actual processing happens.
Can I compile the code in a way, so I can debug it, too?

Greets
Florian Reiser
 

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
474,169
Messages
2,570,919
Members
47,459
Latest member
Vida00R129

Latest Threads

Top