<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Without thinking about it too much, would </div><div><br></div><div>doSomething: 'something' IfFail: [halt]</div><div><br></div><div>work differently?</div><div><br></div><br><div><div>On 18/09/2013, at 10:57 AM, Chris Double <<a href="mailto:chris.double@double.co.nz">chris.double@double.co.nz</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">













<div style="background-color: #fff;">
<span style="display:none"> </span>



    <div id="ygrp-text"><p>I'm having issues with debugging and wonder if anyone as any tips. When<br>
running code that uses error blocks, like this:<br>
<br>
doSomething: 'something' IfFail: [|:e| error: e ]<br>
<br>
If the method has an error and calls the error block in IfFail then the<br>
debugger pops up with a stack that stops at the line where the error<br>
blocks is created (ie. the one above). It doesn't show a stack inside<br>
'doSomething:IfFail:' where the error actually occured.<br>
<br>
Is there a way to recover this information? At the moment if I run some<br>
Self code that deep inside internals it does an [|:e| error: e] block<br>
then I lose the context of where the error actually occured and only get<br>
the context of where it is handled.<br>
<br>
-- <br>
<a href="http://www.bluishcoder.co.nz">http://www.bluishcoder.co.nz</a><br>
</p>

    </div>
     

    

</div>



<!-- end group email -->

</blockquote></div><br></body></html>