<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-size: 10pt; "><span><div class="MsoNormal"><div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; ">Hi,<o:p></o:p></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; "><o:p> </o:p></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; ">I have done some enhancement in the pydev i.e. python plugin
for eclipse and added a new debug command i.e. Set Next Statement. <o:p></o:p></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; "><o:p> </o:p></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; ">But when I am using stackless python as an interpreter, I am
facing the following issue:<o:p></o:p></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; "><o:p> </o:p></div>

<div class="MsoListParagraph" style="font-family: arial, helvetica, sans-serif; text-indent: -0.25in; "><!--[if !supportLists]--><span><span>-<span style="font:7.0pt "Times New Roman"">         
</span></span></span><!--[endif]-->When an instruction pointer is inside any method
which has try..except..finally and then I try to execute a set next command, python
crashes.<o:p></o:p></div>

<div class="MsoListParagraph" style="font-family: arial, helvetica, sans-serif; text-indent: -0.25in; "><!--[if !supportLists]--><span><span>-<span style="font:7.0pt "Times New Roman"">         
</span></span></span><!--[endif]-->In the attached screenshot, when I am trying to
jump from <b>line 11</b> to <b>line 29, </b>python crashes.</div><div class="MsoListParagraph" style="font-family: arial, helvetica, sans-serif; text-indent: -0.25in; "><br></div><div class="MsoListParagraph" style="font-family: arial, helvetica, sans-serif; text-indent: -0.25in; "><span class="Apple-tab-span" style="white-space:pre">        </span>But If I comment <b><i>finally</i></b>
block, then jump from <span> </span><b>line 11</b> to <b>line 29</b> it works fine.</div><div class="MsoListParagraph" style="font-family: arial, helvetica, sans-serif; text-indent: -0.25in; "><span class="Apple-tab-span" style="white-space:pre">       </span>I investigated pydev code and figured
out that python gets crashed while executing the following code:</div><div class="MsoListParagraph" style="text-indent: -0.25in; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; "><span><span class="Apple-tab-span" style="white-space: pre; background-color: rgb(255, 255, 255);">          </span><span class="Apple-style-span" style="background-color: yellow;">o</span><span style="background-color: yellow; font-family: 'Courier New'; font: normal normal normal 7pt/normal 'Times New Roman'; ">  
</span></span></span><b style="font-family: arial, helvetica, sans-serif; "><span style="background:yellow;mso-highlight:yellow">frame.f_lineno = line</span></b></div><div class="MsoListParagraph" style="text-indent: -0.25in; "><b><span style="color:#E46C0A;mso-themecolor:accent6;mso-themeshade:191;mso-style-textfill-fill-color:
#E46C0A;mso-style-textfill-fill-themecolor:accent6;mso-style-textfill-fill-alpha:
100.0%;mso-style-textfill-fill-colortransforms:lumm=75000"><br></span></b></div><div class="MsoListParagraph" style="text-indent: -0.25in; "><b><span><span class="Apple-tab-span" style="white-space: pre; ">  </span>Note:</span></b> I am
using stackless python 3.2, whereas this problem doesn’t exist with Cpython 3.2</div><div class="MsoListParagraph" style="text-indent: -0.25in; "><br></div><div class="MsoListParagraph" style="text-indent: -0.25in; "><br></div><div class="MsoListParagraph" style="text-indent: -0.25in; "><span class="Apple-tab-span" style="white-space:pre">   </span>Regards,</div><div class="MsoListParagraph" style="text-indent: -0.25in; "><span class="Apple-tab-span" style="white-space:pre"> </span>Hussain Bohra</div></div><div class="MsoNormal" style="margin-left: 0.25in; "><div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; "><o:p></o:p></div></div></span></div><div style="text-align: left; font-family: 'monotype corsiva'; " id="RTEContent"><font class="Apple-style-span" color="#0000ff" face="'times new roman'"><br></font></div></div></body></html>