[Cuis-dev] Unreachable code after Smalltalk saveImage

Weslleymberg Lisboa weslleym.lisboa at gmail.com
Wed Mar 5 06:33:53 PST 2025


Can reproduce it on Windows 11.

I misunderstood your first e-mail. I tried executing one expression at a 
time.

Thing is... I think this is expected behavior since many things in the 
image are restarted in the process.

PS: answered it to Nicolás but forgot to include list's address

Em 05/03/2025 08:37, Nicolás Papagna Maldonado escreveu:
> Interesting.
> 
> Here's how you can reproduce it:
> 
>  1.
> 
>     git clone --depth=1 https://github.com/Cuis-Smalltalk/Cuis-
>     Smalltalk-Dev.git <https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-
>     Dev.git> bug_repro
> 
>  2.
> 
>     cd bug_repro
> 
>  3.
> 
>     ./RunCuisOnMac.sh
> 
>  4.
> 
>     Open a transcript and evaluate "Smalltalk saveImage. 1 inspect"
> 
>  5.
> 
>     Notice the inspector is not opened
> 
> Cheers,
> Nico PM
> 
> On Tue, Mar 4, 2025 at 3:52 PM Weslleymberg Lisboa via Cuis-dev <cuis- 
> dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
> 
>     Hi,
> 
>     Everything working here. Inspector opens as expected.
> 
>     Which update are you on? There was a bug were somethings were not
>     properly restarted after saving the image. It was fixed with update
>     6955.
> 
>     Em 04/03/2025 12:20, Nicolás Papagna Maldonado via Cuis-dev escreveu:
>      > Hi folks,
>      >
>      > I evaluated this in a Transcript and, to my surprise, the
>     inspector was
>      > not opened:
>      >
>      > Smalltalk saveImage.
>      > 1 inspect.
>      >
>      > It looks like anything after Smalltalk saveImage is not evaluated.
>      > Is this by design or a bug?
>      >
>      > Thanks in advance,
>      > Nico PM
>      >
> 
>     -- 
>     Wéslleymberg Lisboa
>     Graduado em Sistemas de Informação
>     Docente no IFFluminense - Campus Itaboraí
> 
>     -- 
>     Cuis-dev mailing list
>     Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>     https://lists.cuis.st/mailman/listinfo/cuis-dev <https://
>     lists.cuis.st/mailman/listinfo/cuis-dev>
> 
> 
> 
> -- 
> 
> Nicolás Papagna

-- 
Wéslleymberg Lisboa
Graduado em Sistemas de Informação
Docente no IFFluminense - Campus Itaboraí



More information about the Cuis-dev mailing list