On 11/19/05, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> The ReleaseNotes for 0.9 say "AutoReload no longer catches servlet
> updates (since servlets can be reloaded without restarting the entire
> server anyway)." (This was checked in by Ian in Revision 1956).
>
> Generally, I'd say this is a good idea, but I noticed there is also a
> drawback: The exception traceback output does not use the updated
> source. If lines have been added or deleted from the source, it shows a
> wrong line as being erroneous. This makes debugging cumbersome.
>
> Anybody has an idea how this could be improved? Maybe simply reloading
> the source before printing the traceback? Any suggestions for a patch?
>
> -- Christoph

I develop from a debugging environment (WingIDE) so instead of looking
at the WebKit-generated traceback for the servlet, my dev environment
gives it to me (correctly).

When I run in production, I don't use AutoReload.

So this problem doesn't affect me. I do remember experiencing it back
when I didn't develop out of an IDE. My impression was that it was a
bug in Python since the servlet's module *is* getting reloaded. Maybe
if you can recreate the issue in a small standalone example, you can
ask comp.lang.python for help.


-Chuck


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to