You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Jayapal Reddy Uradi <ja...@citrix.com> on 2012/06/07 18:30:10 UTC
kvm agent debugging
Hi,
How to connect the debugger in eclipse to kvm agent for debugging.
1. I started the management server in debug mode, using eclipse IDE.
2. Agent is installed in kvm host.
In case of xenserver host I can connect the debugger to 8787 port and debug,
In case of kvm what are the steps in eclipse and kvm agent start, to enable the debugger to connect with remote agent.
Thanks,
Jayapal
RE: kvm agent debugging
Posted by Edison Su <Ed...@citrix.com>.
> -----Original Message-----
> From: Jayapal Reddy Uradi [mailto:jayapalreddy.uradi@citrix.com]
> Sent: Thursday, June 07, 2012 9:30 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: kvm agent debugging
>
> Hi,
>
> How to connect the debugger in eclipse to kvm agent for debugging.
>
>
> 1. I started the management server in debug mode, using eclipse
> IDE.
>
> 2. Agent is installed in kvm host.
>
> In case of xenserver host I can connect the debugger to 8787 port and
> debug,
> In case of kvm what are the steps in eclipse and kvm agent start,
> to enable the debugger to connect with remote agent.
Need to enable debug port for the agent java process:
Edit "/usr/libexec/agent-runner", add "-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" behind "java -Xms128M -Xmx384M "
Then restart cloud-agent.
>
> Thanks,
> Jayapal