[mod_python] Python Debugger doesn't start in Mod_Python

Graham Dumpleton graham.dumpleton at gmail.com
Thu May 10 17:29:33 EDT 2007


I suspect it is because of this change being made:

  http://issues.apache.org/jira/browse/MODPYTHON-195

I had been recently wondering whether the change would upset single
process debugging.

As it is, the issue has had to be reopened because it causes another
minor nuisance issue with version information for Python/mod_python
not being displayed.

Do you have the ability to compile mod_python from source code
yourself and thereby remove the change described in that issue and see
if it then works?

It still may be the case however that single process debugging has
never worked on Windows for one reason or another since people so
rarely use it.

Graham

On 11/05/07, René Grob <rpgrob at hispeed.ch> wrote:
> Since my small intranet application keeps getting more complex I tried
> to fix some bugs using the Python Debugger. According to the Mod_python
> manual I added the "PythonEnablePdb On" directive into the directory
> context of my Python application and started httpd from the command line
> with the option -DONE_PROCESS (after stopping httpd first, of course).
> But Apache didn't start and an error window occurred instead showing the
> following message:
>
> "Runtime Error! Program: <Apache path>\httpd.exe. This application has
> requested the Runtime to terminate it in an unusual way. Please contact
> the applications's support team for more information".
>
> I'm using the following prebuilt binaries on Win2k SP4:
>
> mod_python-3.3.1.win32-py2.5-Apache2.2.exe
> python-2.5.msi
> apache_2.2.4-win32-x86-no_ssl.msi
>
> When Apache is started with the option -DONE_PROCESS but without
> Mod_python there is no error and no Mod_python either (of course). On a
> different machine with WinXP SP2, Apache 2.2.3, Python 2.4.3 and
> Mod_python 2.7.10 the debugger works as expected.
>
> Does anyone have an idea how to fix this?
>
> Thanks
>
> René
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>



More information about the Mod_python mailing list