<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/29/2015 11:42 PM,
<a class="moz-txt-link-abbreviated" href="mailto:xueguanwen@hotmail.com">xueguanwen@hotmail.com</a> wrote:<br>
</div>
<blockquote
cite="mid:BLU436-SMTP2277B297E67F75BA1F853A3C68B0@phx.gbl"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style>
<div><span></span>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;
line-height: normal;">Hi,<span style="font-family: '';
font-size: 10.5pt; line-height: 1.5; background-color:
window;">Assaf </span></div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;">Does
PyCharm really works? </div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;">i use
Pycharm 3.4.1 and <span style="line-height: normal; font-size:
10.5pt; background-color: window;"> Gevent debugging </span><span
style="line-height: normal; font-size: 10.5pt;
background-color: window;">Enabled,</span></div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;">but i
still can not step into the place i want, pycharm will go to
thread.py.</div>
</div>
</blockquote>
<br>
I know that with Keystone we needed to run with standard threads,
not eventlet greenthreads in order to get step by step debugging.<br>
<br>
I've been mostly working with RPD, and that has worked well for me.
I used PyCHarm for a bout a year, but did not renew it, as it
doesn't really buy me that much when I have to ssh in to a remote
machine anyway.<br>
<br>
<br>
My Write up<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>
<br>
<br>
<blockquote
cite="mid:BLU436-SMTP2277B297E67F75BA1F853A3C68B0@phx.gbl"
type="cite">
<div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;"><br>
</div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;
line-height: normal;">----- Original Message -----</div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;
line-height: normal;"><span style="font-size: 10.5pt;
background-color: window;">> </span>We need to update
that page. I haven't used PyDev in years, I use PyCharm.</div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;
line-height: normal;"><span style="font-size: 10.5pt;
background-color: window;">> </span>There's an option in
PyCharm called 'Enable Gevent debugging' (Gevent is</div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;
line-height: normal;"><span style="font-size: 10.5pt;
background-color: window;">> </span>a green threads
library very similar to eventlet, which is what we use</div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;
line-height: normal;"><span style="font-size: 10.5pt;
background-color: window;">> </span>in OpenStack). I read
that PyDev 3.7+ has support for Gevent debugging</div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;
line-height: normal;"><span style="font-size: 10.5pt;
background-color: window;">> </span>as well. Can you
check if simply enabling that (And not editing any code)</div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;
line-height: normal;"><span style="font-size: 10.5pt;
background-color: window;">> </span>solves your issue? If
so I can update the wiki with your conclusions.</div>
<div style="font-family: 'Microsoft YaHei UI', Tahoma;
line-height: normal;"><br>
</div>
</div>
<blockquote style="margin-top: 0px; margin-bottom: 0px;
margin-left: 0.5em;">
<div>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>