<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 01/18/2016 08:08 AM, 郝启臣 wrote:<br>
    </div>
    <blockquote
cite="mid:CANx_=AZN0Rcuxo9j=PmCstr92BhhFyR56GarDaCXswYsL5h0wA@mail.gmail.com"
      type="cite">
      <div dir="ltr">hello,guys,I want to debug the glance code with
        pydev in eclipse,but i don't know how to do,can anybody help me?
        <div><br>
        </div>
        <div>ps:I debug horizon successfully in eclipse,the entrance of
          the dubug is manage.py,so where is the entry of the glance
          code.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
    </blockquote>
    I gave up on pydev, and instead use rpdb:<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://adam.younglogic.com/2015/02/debugging-openstack-with-rpdb/">http://adam.younglogic.com/2015/02/debugging-openstack-with-rpdb/</a><br>
    <br>
    Glance uises eventlet, which messes with threads, which kills the
    debugger as it cannot context switch between the running and debug
    threads. You essentially need bypass Eventlet to make it happen.  I
    used to know how to do this, I think it was essentially commenting
    out the part of glance that monkeypatches thread.<br>
    <br>
  </body>
</html>