Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Subversion Wiki" for 
change notification.

The "DebuggingTips" page has been changed by GabrielaGibson:
http://wiki.apache.org/subversion/DebuggingTips

New page:
=== Resources: ===
remake -- a GNU Makefile debugger: 
http://bashdb.sourceforge.net/remake/remake.html/Summary.html#Summary

BashDB -- a bash script debugger: http://bashdb.sourceforge.net/bashdb.html#Top

GDB tutorial: http://www.dirac.org/linux/gdb/

General debugging course: 
http://www.udacity.com/view#Course/cs259/CourseRev/1/Unit/135001/Nugget/137001

=== How to run gdb with libtool: ===
'''''Shell: '''''

Gdb can be run using subversion/svnrdump/.libs/lt-svnrdump. Note that

 . that program doesn't exist until after the first post-compilation invocation 
of subversion/svnrdump/svnrdump itself.

Re-set $SHELL so shelling out from gdb will start your $SHELL, rather than sh.

{{{
  libtool --mode=execute env SHELL=$SHELL gdb ./subversion/svn/svn
}}}
'''''Emacs: '''''

Emacs 24.1.1 can run gdb with libtool inside gdb mode:

{{{
M-x gbg -> libtool --mode=execute gdb -i=mi -epoch /your/target.file
}}}

Reply via email to