[Scilab-users] {EXT} Re: Scilab 6 problem with "Prettify"

Dang Ngoc Chan, Christophe Christophe.Dang at sidel.com
Fri Sep 8 09:43:17 CEST 2017


Hello,

> De : Pierre Vuillemin
> Envoyé : jeudi 7 septembre 2017 22:20
>
> Or you may want to comment suspicious parts of your code until there is no more error....

A very efficient way to isolate the error is to use dichotomy.

Normally, the core of your script should consist in calling functions.
So remove the first half of the functions and see if you get the error.
If not, remove the other half.
You can then isolate in which half your function is.
Remove then the first half of the problematic half etc.

If both fail, then the problematic part is in the core
And you can isolate it in the same way.

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



More information about the users mailing list