From owner-freebsd-questions@FreeBSD.ORG Thu Nov 4 14:11:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4281016A4DA for ; Thu, 4 Nov 2004 14:11:39 +0000 (GMT) Received: from mx05.ms.so-net.ne.jp (mx05.ms.so-net.ne.jp [202.238.82.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5743E43D31 for ; Thu, 4 Nov 2004 14:11:38 +0000 (GMT) (envelope-from khoyee@tf7.so-net.ne.jp) Received: from [192.168.0.2] (pdd16f8.osakac00.ap.so-net.ne.jp [218.221.22.248]) by mx05.ms.so-net.ne.jp with ESMTP id iA4EBZOv022495 for ; Thu, 4 Nov 2004 23:11:36 +0900 (JST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <8A9F6C3B-2E6B-11D9-A47B-000A95BE58A4@tf7.so-net.ne.jp> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: Choy Kho Yee Date: Thu, 4 Nov 2004 23:12:20 +0900 X-Mailer: Apple Mail (2.619) Subject: Tools for program testing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 14:11:39 -0000 Hi, to the experienced developers out there, I would like to know if there are any tools that help in testing/debugging a program? To be specific, what I need to know is which lines of the code have been tested and which have not. AFAIK, gdb is the standard tool for debugging and I am using it. I heard that gprof is good for profiling where we can find which functions have been called. Any other related tools recommendations? Thanks. --- Choy Kho Yee url: http://dotkoyi.infoseek.ne.jp/ blog: http://dotkoyi.blogspot.com/ Have you had your apple today?