[Scilab-Dev] Debug a "Warning !!!"

ycollet at freesurf.fr ycollet at freesurf.fr
Thu Feb 5 15:57:41 CET 2009


What about a scilab variable setable to %T or %F which makes scilab hangs
if an exception is raised ?

Something like:

set('EXCEPTION_CRASH_SCILAB',%T);

and then, fell fre to make scilab crash ...

YC


On Thu, 05 Feb 2009 14:12:22 +0100, <ycollet at freesurf.fr> wrote:
> Hello,
> 
> Thanks. I will try this tonight.
> 
> YC
> 
> On Thu, 5 Feb 2009 13:21:04 +0100, "Allan CORNET"
<allan.cornet at scilab.org>
> wrote:
>> Hi,
>> 
>> If you build a debug version of scilab on Windows with vs express,
> debugger
>> will stop on error.
>> In release mode , you cannot debug this error.
>> Scilab (release mode , Windows) catchs errors (and not crash) and
returns
>> error in console.
>> 
>> http://msdn.microsoft.com/en-us/library/aa908962.aspx
>> 
>> Allan
>> 
>> -----Message d'origine-----
>> De : ycollet at freesurf.fr [mailto:ycollet at freesurf.fr] 
>> Envoyé : jeudi 5 février 2009 12:06
>> À : dev at lists.scilab.org
>> Objet : [Scilab-Dev] Debug a "Warning !!!"
>> 
>> Hello,
>> 
>> How can I debug an interface when such a message appears ?
>> 
>> Warning !!!
>> Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION).
>> Save your data and restart Scilab.
>> 
>> Because such a message doesn't trigger a segmentation fault and is not
> seen
>> by gdb.
>> 
>> YC
>>
> 



More information about the dev mailing list