[squeak-dev] [BUG] Different results when running code <EXCEPTION> versus debugging code <RUNS>

rabbit rabbit at callistohouse.org
Mon Dec 26 20:00:41 UTC 2022


I am using this Image and VM. To reproduce the issue, load 
'ESqueak.release.3' into a scratch remote promises image...then run the 
code below, in a workspace: get walkback <EXCEPTION>. Now debug the code 
and walk through it: <RUNS> fine, no exceptions.

Image
-----
/home/rabbit/tribe/squeak/remote-promises.image
Squeak6.1alpha
latest update: #22307

Virtual Machine
---------------
/usr/local/bin/squeak
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-dtl.3185]
CoInterpreter VMMaker.oscog-dtl.3185 uuid: 
0e7f07b8-eed6-4362-b223-86c98594ddb9 Jun  2 2022

•••

DoIT to me!

    Installer ss project: 'Cryptography'; install: 'ESqueak.release.3'.

*••• Run me then Debug me **•••***

    | bytes obj newBytes testObj |
    ASN1Module initialize.
    bytes := #[4 5 3 21 55 43 76].
    testObj := #(3 21 55 43 76) asByteArray.
    obj := ASN1InputStream decodeBytes: bytes.
    self assert: (obj = testObj).
    newBytes := ASN1OutputStream encode: obj.
    self assert: (bytes = newBytes).

*•••*

Thank you for any guidance on my critical issue!

*• rabbit*


-- 
•••
𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧
𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨!
𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20221226/08d3c689/attachment.html>


More information about the Squeak-dev mailing list