From mboxrd@z Thu Jan 1 00:00:00 1970 From: soraberri <421246@posta.unizar.es> Subject: development tools for interpreting code Date: Tue, 21 Dec 2004 17:17:41 +0100 Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-c-programming@vger.kernel.org Hi all, In this stage of my learning I am basically trying to understand some code that others have develop. The code is about bluetooth tools but this is unrelevant at this moment. Rigth now I'm using Kdevelop for this task with the source that I want to understand loaded into a new project, and I always find the same problem which I will describe you in terms of an example: at some point of the code I find a call to a function or a typedef name (for exmple str2ba) and I would like to find the header file or even the source file where this function (or type) is defined. I can only use the Grep:str2ba command found under "Find in files..." dialog but sometimes this is not suitable because I have to tell manually the path from the starting point of the search, and if I don't know exactly the rigth folder, the number of results searched can be too many for examining. I guess it may be a better way, since the program compiles and has the appropiate includes (#include
), so the compiler must know where the function is defined. So, every suggestions would be wellcome, thaks in advance