Opened 14 years ago
Closed 14 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 14 years ago by
comment:2 Changed 14 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
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.

Sorry, I cannot reproduce it in windows.