|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Debugging Xen
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
|
|
|
|
|