You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2004/07/22 02:10:10 UTC
cvs commit: modperl-docs/src/docs/2.0/devel/debug c.pod
stas 2004/07/21 17:10:10
Modified: src/docs/2.0/devel/debug c.pod
Log:
Entering Single Server Mode
Revision Changes Path
1.16 +16 -1 modperl-docs/src/docs/2.0/devel/debug/c.pod
Index: c.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/devel/debug/c.pod,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -u -r1.15 -r1.16
--- c.pod 26 Nov 2003 07:09:38 -0000 1.15
+++ c.pod 22 Jul 2004 00:10:09 -0000 1.16
@@ -41,7 +41,22 @@
caused the segfault).
http://httpd.apache.org/~trawick/exception_hook.html
-=head2 Setting gdb breakpoints with mod_perl built as DSO
+
+
+
+=head2 Entering Single Server Mode
+
+Most of the time, when debugging Apache or mod_perl, one needs to
+start Apache in a single server mode and not allow it to detach itself
+from the initial process. This is accomplished with:
+
+ % httpd -DONE_PROCESS -DNO_DETACH
+
+
+
+
+
+=head2 Setting gdb Breakpoints with mod_perl Built as DSO
If mod_perl is built as a DSO module, you cannot set the breakpoint in
the mod_perl source files when the I<httpd> program gets loaded into
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org