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

Dr. Nicola Mingotti nmingotti at gmail.com
Wed Jan 11 05:33:17 PST 2023


nice !

Nicola







On 1/8/23 17:21, 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230111/6a4736c5/attachment.htm>


More information about the Cuis-dev mailing list