|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Tips for debugging Xend?
On Tue, Apr 25, 2006 at 05:11:49PM -0700, Randy Thelen wrote:
> Folks --
>
> I'm walking through Xend and am having trouble figuring out where new
> commands that come in from xm via the UnixHttp interface are actually
> parsed and run. There are sort of three ways to tackle this.
>
> First: Is there any documentation that explains the inner workings of
> xend?
make dev-docs might help, but in your case, I doubt it. There's basically no
documentation for the internals of Xend.
> Second: Is there an obvious way to convert SrvDaemon.start() to not
> fork so that I can run Xend on top of pdb?
Setting XEND_DAEMONIZE = False at the top of the xend launch script should do
it.
> Third: Is there a Python debugger that allows me to connect to a
> running application?
>
> Any pointers to do any of the above would be welcome.
If you're using Xen 3.0.2 or unstable, you want to be looking at
XMLRPCServer.py. The commands come in through there, and it should be fairly
obvious from there on in.
Ewan.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|