Graham Dumpleton
graham.dumpleton at gmail.com
Mon Mar 31 06:41:57 EDT 2008
Try the -X option instead. Do note that not all Apache third party modules may work in a single process mode. Also perhaps study the winpdb documentation as maybe they say something about how to debug mod_python with pdb or with winpdb. You might even try their Python debugger instead. See: http://www.winpdb.org You might also have a look through general Apache documentation on debugging: http://httpd.apache.org/dev/debugging.html Finally, if your web application is capable of running on top of any WSGI compliant interface, ie., is not limited to mod_python, then look at the various WSGI debugging options as well: http://code.google.com/p/modwsgi/wiki/DebuggingTechniques Other than that, can't help as not a Windows person. Graham On 31/03/2008, Dominique.Holzwarth at ch.delarue.com <Dominique.Holzwarth at ch.delarue.com> wrote: > Hi all > > I'm still trying to get apache running in 'debug mode' for mod_python. I've read that you have to add the option 'PythonEnablePdb On' to the directory directive where the Python-Handler is and, in order to use that option, you need to start apache with the command -DONE_PROCESS. That's where I'm still struggling tho. > > When I start apache under Windows XP with: > "C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe" -w -f "C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf" -d "C:\Program Files\Apache Software Foundation\Apache2.2\." -DONE_PROCESS > > I get a runtime error stating that apache was stopped in an unusual way or something... > > I would be really happy if someone could help me how to use that PythonEnablePdb! > > Greetings > Dominique > > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|