[ovirt-devel] Backend Debug
劉芳
fangng9 at 163.com
Mon Aug 14 13:25:13 UTC 2017
Hi!
I don't understand it, as fallow: ""ovirt-engine[8879] INFO _detectJBossVersion:187 Detecting JBoss version. Running: /usr/lib/jvm/jre/bin/java ['ovirt-engine-version',
<snip>.
Can you give a practical example?
At 2017-08-14 20:19:57, "Greg Sheremeta" <gshereme at redhat.com> wrote:
When you start engine (backend) after a dev install, it's already listening for remote debug connections on 8787:
ovirt-engine[8879] INFO _detectJBossVersion:187 Detecting JBoss version. Running: /usr/lib/jvm/jre/bin/java ['ovirt-engine-version',
<snip>
Listening for transport dt_socket at address: 8787
So, just do a remote debug session using your favorite IDE. I use Eclipse:
From Eclipse, Run > Debug Configurations, Remote Java, New (use the project you want to debug)
Change the port to 8787, and Debug.
Window > Perspective > Open > Debug and you can see you are now attached.
screens: http://imgur.com/a/i0Qbe
On Mon, Aug 14, 2017 at 3:58 AM, 劉芳 <fangng9 at 163.com> wrote:
Hi!
Recently, I am using ovirt.
The frontend module can be single step debugging according to the DebugFronten document. As fallow:https://www.ovirt.org/develop/developer-guide/debugfrontend/
Are there debugging methods that can be used for single step debugging of the backend?
_______________________________________________
Devel mailing list
Devel at ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel
--
Greg Sheremeta, MBA
Sr. Software Engineer
Red Hat, Inc.
gshereme at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170814/6fd2ad23/attachment.html>
More information about the Devel
mailing list