From: Tanay Abhra Date: Tue, 04 Mar 2014 17:53:25 GMT Subject: Re: git compile with debug symbols Message-ID: In-Reply-To: <1393947964.16150.YahooMailNeo@web162902.mail.bf1.yahoo.com> Mahesh Pujari yahoo.com> writes: > > > Hello, >  I am trying to compile git with debug symbols and failed to do so (basically I am a noob), can some one direct > me to links or mailing list (have searched but couldn't find) or doc's so that I can debug git using gdb. > > thanks, > mpujari > > Hi, I tried to put a break point at help.c:396 and it was successful . I think that the problem is either your symbols are not loaded. Nevertheless I will walk you through the steps. $ git clone https://github.com/git/git $ make $ gdb ./git $(gdb)> gdb break help.c:396 Breakpoint 1 at 0x80f8b40: file help.c, line 396. Cheers, Tanay Abhra.