<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Jaromir,</p>
<p><br>
</p>
<p>from what I know the VM initializes Context objects lazily and only to the required extent. Eliot wrote an interesting "marriage story" about this recently, see: <a href="http://forum.world.st/Two-new-curious-Context-primitive-questions-tp5125779p5125782.html" class="x_OWAAutoLink" id="LPlnk870639">http://forum.world.st/Two-new-curious-Context-primitive-questions-tp5125779p5125782.html</a></p>
<p>Also, suspendedContext is only set when the process is not running at the moment.</p>
<p>Did you try to fetch the same values from the process itself by using "thisContext"?</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Jaromir Matas <m@jaromir.net><br>
<b>Gesendet:</b> Freitag, 5. März 2021 19:37:12<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org<br>
<b>Betreff:</b> [squeak-dev] Explorer / Inspector bug?</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi, I tried to explore and debug this simple code:<br>
<br>
p := [[true] whileTrue: [10 second wait]] fork<br>
<br>
p explore<br>
<br>
... the explorer shows pc=nil and sender=nil but the process is running and<br>
responding correctly to isTerminated test and also showing correct answers<br>
in the bottom mini-workspace. However, when I open another explorer on the<br>
suspendedContext, it shows pc=nil and sender=nil even in the<br>
miniworkspace...<br>
<br>
This doesn't seem right but can't figure out where the problem is. And the<br>
explorer has to be run as a separate command...<br>
<br>
<<a href="http://forum.world.st/file/t372955/Screenshot_2021-03-05_192904.png">http://forum.world.st/file/t372955/Screenshot_2021-03-05_192904.png</a>>
<br>
<br>
<br>
<br>
-----<br>
^[^ Jaromir<br>
--<br>
Sent from: <a href="http://forum.world.st/Squeak-Dev-f45488.html">http://forum.world.st/Squeak-Dev-f45488.html</a><br>
<br>
</div>
</span></font>
</body>
</html>