Hi,
On 2011-04-01 12:33 AM, Terry Gregory wrote:
I'm trying to debug a Jinja template but notice that when using pdb (or
the Komodo IDE debugger), the reported line number in the stack
traceback is not in sync with the actual template line number. This
causes the debugger to report the incorrect line of template code in the
stack trace (i.e., via the "where" or "bt" command in pdb).
The debug functionality is currently a crude hack but the best we can
accomplish for Python versions older 2.6. Over the summer I will
hopefully write a new compiler for Jinja that no longer needs to fall
back to Python code generation which will get line numbers wrong.
As a fix for the moment: make sure the c extension is compiled and in
use by the Python you are running in Komodo.
Regards,
Armin
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en.