<div dir="ltr"><span style="font-family:'Helvetica Neue',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:'Helvetica Neue',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 "current receiver" 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"><<a href="mailto:dionisiydk@gmail.com" target="_blank">dionisiydk@gmail.com</a>></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 := 'test'.</div></div><div><div>d := 'test2' ] value.</div></div><div><div>t.</div></div><div><div>^ d halt</div></div></blockquote><div><br></div><div>Stack top here will show #('test' test2') 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"><<a href="mailto:dionisiydk@gmail.com" target="_blank">dionisiydk@gmail.com</a>></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 := 'test' ] value.</div></div><div><div>^ t halt</div></div></blockquote><div><br></div><div>You will see in debugger #('test') as stack top value. Why it is not 'test'?</div><div>I understand that hidden arrays used for variables which are used in closures. But why "context top" 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>