Author: danielsh
Date: Mon Jul 29 05:31:41 2013
New Revision: 1507941

URL: http://svn.apache.org/r1507941
Log:
* docs/community-guide/debugging.part.html
  (#debugging-ra-dav):
    Update claim about gdb not being able to set breakpoints in not-yet-loaded
    shared libraries.
    Document 'davautocheck.sh --gdb'.

Modified:
    subversion/site/publish/docs/community-guide/debugging.part.html

Modified: subversion/site/publish/docs/community-guide/debugging.part.html
URL: 
http://svn.apache.org/viewvc/subversion/site/publish/docs/community-guide/debugging.part.html?rev=1507941&r1=1507940&r2=1507941&view=diff
==============================================================================
--- subversion/site/publish/docs/community-guide/debugging.part.html (original)
+++ subversion/site/publish/docs/community-guide/debugging.part.html Mon Jul 29 
05:31:41 2013
@@ -109,10 +109,10 @@ Index: subversion/svn/proplist-cmd.c
 
 <p>'mod_dav_svn.so' contains the main Subversion server logic; it runs
 as a module within mod_dav, which runs as a module within httpd.
-Since httpd is probably using dynamic shared modules, you normally
-won't be able to set breakpoints in advance when you start Apache in a
-debugger such as GDB.  Instead, you'll need to start up, then
-interrupt httpd, set your breakpoint, and continue:</p>
+If httpd is probably using dynamic shared modules, you might need to
+<tt>set breakpoint pending on</tt> (in ~/.gdbinit) before setting breakpoints
+in mod_dav_svn would be possible.  Alternatively, you may start httpd,
+interrupt it, set your breakpoint, and continue:</p>
 
 <pre>
    % gdb httpd
@@ -137,6 +137,11 @@ requests; that's when you hit control-C 
 <p>to help determine what might be going wrong and where to set
 breakpoints.</p>
 
+<p>Alternatively, running <tt>./subversion/tests/cmdline/davautocheck.sh
+--gdb</tt> in a working copy will start httpd using the mod_dav_svn in that
+working copy.  You can then run individual Python tests against that:
+<tt>./basic_tests.py --url=http://localhost:3691/</tt>.</p>
+
 </div> <!-- debugging-ra-dav -->
 
 <div class="h3" id="debugging-ra-svn">


Reply via email to