[prev in list] [next in list] [prev in thread] [next in thread]
List: dav-dev
Subject: RE: [dav-dev] How I can debug mod_dav on Windows
From: "Keith Wannamaker" <krw () raleigh ! ibm ! com>
Date: 2000-06-26 13:05:34
[Download RAW message or body]
-----Original Message-----
>Is there any way to debug mod_dav.dll
>with Apache webserver?
Sure, I do it all the time with MSVC 6. As Greg said,
just fetch the dav source and the latest Apache source.
You can build a debug version from the command line with:
nmake /f mod_dav.mak CFG=debug
Specify the path to your Apache source directory
(if it is not \apache-1.3) with APACHE=\path\to\apache
The build from the command line is more flexible than
the gui since you can override the path to Apache.
After you've built mod_dav,
Open the mod_dav .dsp file.
Build->set active configuration->mod_dav Debug
Project->settings:
update the following debug project settings:
Debug Tab:
1) Executable for debug session (\Server\Apache.exe etc);
2) Working directory (\Server etc);
3) Program arguments (-X).
Link Tab:
1) Output filename (\Server\modules\mod_dav.dll)
Assuming you have copied the two expat dlls to \Server,
and that your \Server\conf\httpd.conf has dav configured,
build mod_dav once more to make sure a debug version is
in your \Server tree. Then set a breakpoint in, say,
dav_handler and click start.
If Apache loads and immediately exists, try starting it
from the command line; you most likely have a config problem.
If you get a gpf, try building debug versions of apache.exe
and apachecore.dll, replacing the ones in \Server with them.
I don't think this is required, though.
Debug away.
Keith
_______________________________________________
dav-dev maillist - dav-dev@lyra.org
http://dav.lyra.org/mailman/listinfo/dav-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic