<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Liberation Sans'; font-size:9.5pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hello Mark,</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">thanks for being so patient and helping to debug the issue. The observation is caused by a forgotten line of code. The locals dict of the current frame was not remembered in case of an exception. That is fixed in the current sources. The change will be part of the next release. If you need it urgently, just copy it over from the sources. Sources are available via the source code repository. See the eric web site for details.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Regards,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Detlev<br /><br />On Monday 06 May 2013, 12:57:07 Mark Mordeca wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Calibri,sans-serif'; font-size:11pt; color:#1f497d;">Hi,</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Calibri,sans-serif'; font-size:11pt; color:#1f497d;"> </span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Calibri,sans-serif'; font-size:11pt; color:#1f497d;">I’m sorry to bring this up again, but I did more troubleshooting into what is causing my problem and have narrowed it down to a difference in eric4 versions. Up to version 4.4.12 (r3937), eric4 behaves as I expect; i.e. when I run with F2 (or shift+F2) and an exception occurs, I say yes to if I would like to break at the exception, and then in the shell I can type “self” and variable names to access the variables in the memory space. When I upgrade to the next version in line, 4.4.13 (r3989), this no longer works – when I say yes to break at the exception and type self (or other variables that do exist) in the shell, I get not defined errors.</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Calibri,sans-serif'; font-size:11pt; color:#1f497d;"> </span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Calibri,sans-serif'; font-size:11pt; color:#1f497d;">The change log is unhelpful, the entry for 4.4.13 is “bug fixes”. Can you please provide any insight into what changed in between these two versions that could cause this?</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Calibri,sans-serif'; font-size:11pt; color:#1f497d;"> </span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Calibri,sans-serif'; font-size:11pt; color:#1f497d;">Thank you,</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Calibri,sans-serif'; font-size:11pt; color:#1f497d;">Mark</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Calibri,sans-serif'; font-size:11pt; color:#1f497d;"> </span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt; font-weight:600;">From:</span><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt;"> Detlev Offenbach [mailto:</span><a href="mailto:detlev@die-offenbachs.de"><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt; text-decoration: underline; color:#0057ae;">detlev@die-offenbachs.de</span></a><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt;">] <br /></span><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt; font-weight:600;">Sent:</span><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt;"> April-24-13 12:08 PM<br /></span><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt; font-weight:600;">To:</span><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt;"> </span><a href="mailto:eric@riverbankcomputing.com"><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt; text-decoration: underline; color:#0057ae;">eric@riverbankcomputing.com</span></a><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt;"><br /></span><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt; font-weight:600;">Cc:</span><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt;"> Mark Mordeca<br /></span><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt; font-weight:600;">Subject:</span><span style=" font-family:'Tahoma,sans-serif'; font-size:10pt;"> Re: [Eric] Shell and Breaking on Exception</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;">There was nothing removed in this area and it works over here.<br /><br />On Wednesday 24 April 2013, 11:05:56 Mark Mordeca wrote:</span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;">Greetings,</span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;"> </span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;">I have recently upgraded my version of Qt/PyQt and so have upgraded my version of Eric4 to the latest one. In the previous version of Eric I was using (4.3.10), when an exception occurred and the dialog appeared, I would choose to break at it and then I would be able to use the shell to interact with variables in the memory space. After upgrading to latest version I cannot interact with the variables when choosing to break at an exception anymore and so now when an exception occurs I have to choose to break at it, explicitly place a break point at that spot and then re-run in debug mode.</span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;"> </span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;">Was the functionality that occurred in the old version removed or made as some setting that is defaulted to off now? Or is there something weird in my new setup that causes this? Any help would be appreciated.</span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;"> </span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;">Thanks,</span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;">Mark </span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;"> </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt;"><br /><br />-- </span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Liberation Sans,serif'; font-size:11pt; font-weight:600;">Detlev Offenbach</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="mailto:detlev@die-offenbachs.de"><span style=" font-family:'Liberation Sans,serif'; font-size:10pt; text-decoration: underline; color:#0057ae;">detlev@die-offenbachs.de</span></a></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br />-- </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt; font-weight:600;">Detlev Offenbach</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">detlev@die-offenbachs.de</p></body></html>