[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Debugging Xen


  • To: "George Dunlap" <dunlapg@xxxxxxxxx>
  • From: "David Pilger" <pilger.david@xxxxxxxxx>
  • Date: Tue, 2 Jan 2007 17:44:04 +0200
  • Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 02 Jan 2007 07:43:48 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fhE9UW/OdSvxiQVlqOnwJyzsWdXYzB1eL+YVdMlNV9+8T57D3L7vYa3UY0oiaacgW8ph7p5tPBU/NXIdml2klYRE7M655E+v5S5YLThgqebmEqGdj9biQcBKF9gLnoE9EsbNuqgb7p2RngBOwY/cJRJAc0R+dHFuRhtGpdGoJtU=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 1/2/07, George Dunlap <dunlapg@xxxxxxxxx> 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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.