<div dir="ltr"><span style="font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:14px;line-height:19px"><font color="#000000">I found reason about it.</font></span><div><font color="#000000"><span style="font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:14px;line-height:19px">When message send executed it pops receiver from current stack.</span></font><br></div><div><br></div><div><font color="#000000" face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:14px;line-height:19px">But anyway it is very confusing to not see receiver as stack top in debugger. Maybe extra field &quot;current receiver&quot; should be added to debugger in that case</span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-11 11:51 GMT+02:00 Denis Kudriashov <span dir="ltr">&lt;<a href="mailto:dionisiydk@gmail.com" target="_blank">dionisiydk@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here better example to see problem:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>| t d |</div></div><div><div>[ t := &#39;test&#39;.</div></div><div><div>d := &#39;test2&#39; ] value.</div></div><div><div>t.</div></div><div><div>^ d halt</div></div></blockquote><div><br></div><div>Stack top here will show #(&#39;test&#39; test2&#39;) which is completely confusing</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-05-11 11:45 GMT+02:00 Denis Kudriashov <span dir="ltr">&lt;<a href="mailto:dionisiydk@gmail.com" target="_blank">dionisiydk@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi.<div><br></div><div>Try to debug following script:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>| t |</div></div><div><div>[ t := &#39;test&#39; ] value.</div></div><div><div>^ t halt</div></div></blockquote><div><br></div><div>You will see in debugger #(&#39;test&#39;) as stack top value. Why it is not &#39;test&#39;?</div><div>I understand that hidden arrays used for variables which are used in closures. But why &quot;context top&quot; in that cases points to vector instead of variable value?</div><div><br></div><div>Best regards,</div><div>Denis</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>