From: "David Pilger" Subject: Re: Debugging Xen Date: Tue, 2 Jan 2007 17:44:04 +0200 Message-ID: <280848580701020744u229c075encf6f7be38dd469b0@mail.gmail.com> References: <280848580612310819u77eb891au41017625fc010641@mail.gmail.com> <280848580701010107y7c5c3249t7a8d443ec69e41d2@mail.gmail.com> <200701020839.42037.Christoph.Egger@amd.com> <280848580701020446h5dcafdddj3ca12ee6b194dee3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap Cc: Christoph Egger , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 1/2/07, George Dunlap wrote: > The vast majority if my dev experience has been in kernel and > hypervisor, so I'm not familiar with using a debugger, but the idea of > just changing the result of an "if" statement as it's running seems a > little strange to me. :-) I think ideally you'd want to generate a > test input that would trigger the "other" if clause naturally. > Hi George, In certain application this is right, we both agree that code coverage is important in order to find bugs. The difference is that with a debugger you check alternate code flow in run-time, and without it you have to compile different version for each check. Run time flow alternations could be made in other ways than a debugger, but a debugger is more flexible and a lot of logic can be built at the client side, this lets you automate QA processes, etc... And ofcouse, a debugger has a zillion other uses as well :-) Thanks, David.