close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 13 years ago

#1427 closed defect (fixed)

warning stack trace

Reported by: Jorge Owned by: Víctor de Buen Remiro
Priority: high Milestone: Mantainance
Component: Kernel Version: head
Severity: major Keywords:
Cc:

Description

The following code does not show the stack trace as expected:

Real TolConfigManager::Config::Various::Verbose::ShowStackAtWarning := 1;

Real f(Real a)
{
  If( a, WriteLn( "ok" ), WriteLn( "oops" ) )
};

Real f(?);

only tested on linux

Change History (2)

comment:1 Changed 13 years ago by Víctor de Buen Remiro

Sorry, I cannot reproduce it in windows.

Warning: [2] [If] la función de condición no puede devolver valores desconocidos.

[Call stack]
[1] Real f (Real a)

comment:2 Changed 13 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

You need to apply the configuration changes

Real TolConfigManager::Config::Various::Verbose::ShowStackAtWarning := 1;
Real TolConfigManager::Apply(?);

Real f(Real a)
{
  If( a, WriteLn( "ok" ), WriteLn( "oops" ) )
};

Real f(?);

If you want to make a persistent change you must call also to

Real TolConfigManager::Save(?);
Note: See TracTickets for help on using tickets.