<div dir="ltr">Sorry for the confusion. That was a log that I was pasting.<div><br></div><div>When you start engine, debug is automatic.<br></div><div><br></div><div>1. Start engine: </div><div>$ ~/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py start</div><div>Example: <a href="https://pastebin.com/zqJZ3Lvr">https://pastebin.com/zqJZ3Lvr</a></div><div><br></div><div>2. Attach Eclipse</div><div><div>From Eclipse, Run > Debug Configurations, Remote Java, New (use the project you want to debug)</div><div>Change the port to 8787, and Debug.</div><div>Window > Perspective > Open > Debug and you can see you are now attached.</div><div><br></div><div>screenshots: <a href="http://imgur.com/a/i0Qbe">http://imgur.com/a/i0Qbe</a></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 14, 2017 at 9:25 AM, 劉芳 <span dir="ltr"><<a href="mailto:fangng9@163.com" target="_blank">fangng9@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div>Hi!</div><div> 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',</div><div><snip>.</div><div> </div><div> Can you give a practical example?</div><div><div class="gmail-h5"><br><br><br><br><div style="zoom:1"></div><div id="gmail-m_-4764757153162343057divNeteaseMailCard"></div><br>At 2017-08-14 20:19:57, "Greg Sheremeta" <<a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a>> wrote:<br> <blockquote id="gmail-m_-4764757153162343057isReplyContent" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)"><div dir="ltr">When you start engine (backend) after a dev install, it's already listening for remote debug connections on 8787:<div><br></div><div><div>ovirt-engine[8879] INFO _detectJBossVersion:187 Detecting JBoss version. Running: /usr/lib/jvm/jre/bin/java ['ovirt-engine-version',</div><div><snip><br></div><div><br></div><div>Listening for transport dt_socket at address: 8787</div><div><br></div><div>So, just do a remote debug session using your favorite IDE. I use Eclipse:</div><div><br></div></div><div>From Eclipse, Run > Debug Configurations, Remote Java, New (use the project you want to debug)</div><div>Change the port to 8787, and Debug.</div><div>Window > Perspective > Open > Debug and you can see you are now attached.</div><div><br></div><div>screens: <a href="http://imgur.com/a/i0Qbe" target="_blank">http://imgur.com/a/<wbr>i0Qbe</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 14, 2017 at 3:58 AM, 劉芳 <span dir="ltr"><<a href="mailto:fangng9@163.com" target="_blank">fangng9@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div>Hi!</div><div> Recently, I am using ovirt. </div><div> The frontend module can be single step debugging according to the DebugFronten document. As fallow:<a href="https://www.ovirt.org/develop/developer-guide/debugfrontend/" style="outline:none;color:rgb(77,93,44);font-family:"lucida Grande",Verdana,"Microsoft YaHei"" target="_blank">https://www.ovirt.org/d<wbr>evelop/developer-guide/debugfr<wbr>ontend/</a></div><div> Are there debugging methods that can be used for single step debugging of the backend?</div><div><br></div><div> </div></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/devel</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-4764757153162343057gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Greg Sheremeta, MBA<br><span style="font-size:12.8px">Sr. Software Engineer</span><br></div><div>Red Hat, Inc.<br><a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a><br></div></div></div></div></div>
</div>
</blockquote></div></div></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Greg Sheremeta, MBA<br><span style="font-size:12.8px">Sr. Software Engineer</span><br></div><div>Red Hat, Inc.<br><a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a><br></div></div></div></div></div>
</div></div>