[Cuis-dev] [IMPROV] Configurable command line exception handling

Juan Vuletich juan at cuis.st
Mon Jan 9 04:38:00 PST 2023


On 1/8/2023 1:21 PM, Gerald Klix via Cuis-dev wrote:
> Hi all, Hi Juan,
>
> I was bit annoyed by the impossibility to debug scripts and packages
> run or installed from the command line.
> Therefore I added an option, ``-e <argument>``, that lets you
> set the exception class to handle before executing a script.
>
> With the attached change set, you can now write:
>
> squeak Cuis.image -e nil -s myScript.st
>
> If ``myScript.st`` contains an error, a Debugger
> will pop up.
>
>
> HTH and Best Regards,
>
> Gerald

Hi Gerald,

This is most useful.Thanks! I've already pushed it to github. I added a 
comment, with text from your message. I also changed the name 
'exceptionToHandle' to 'excaptionToIgnore', keeping your initials. I 
hope this will make it easier to understand and use.

Thanks!

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list