I've now enhanced DebugAppServer to support the AutoReload setting. I
found this to be important because otherwise I had to manually start
and stop the app server if I modified a servlet's base class or some
supporting module. That gets old.
AutoReload is tricky to support because the DebugAppServer cannot
simply exit since your Python debugger would lose track of it.
Consequently, there are some limitations including no reload support
for changes made to WebKit or Python's standard modules.
It seems to work, but I want to test it a couple more days before
checking it in.
From here on out, I'll be doing all web development in a debugging
environment (WingIDE in my case).
On 7/18/05, Geoffrey Talvola <gtalvola@...> wrote:
> Chuck Esterbrook wrote:
> > Geoff, This is fantastic and long overdue in WebKit! Thanks for
> > beating me to it.
> > I noticed that WebKit was still catching exceptions and dumping them
> > to the console. This meant the Python debugger could not trap them in
> > order to let me inspect the live application. I fixed this and just
> > checked in now. Let me know if you have any problems with it.
> Cool. The case that motivated me to write this was a complicated servlet
> that was behaving incorrectly without an exception. I actually never tes=
> the exception case.
> - Geoff