Christoph Zwerschke 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?

I'm pretty sure traceback lines are loaded with linecache; you could
clear the cache everytime a reload is done.


-- 
Ian Bicking  |  [EMAIL PROTECTED]  |  http://blog.ianbicking.org


-------------------------------------------------------
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_id=7628&alloc_id=16845&op=click
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to