stacktraces to help track down missing actions
This commit is contained in:
parent
59ed3d7138
commit
009a0e6ffb
@ -76,6 +76,7 @@ ActionManager::MissingActionException::MissingActionException (std::string const
|
|||||||
: missing_action_name (str)
|
: missing_action_name (str)
|
||||||
{
|
{
|
||||||
std::cerr << "MAE: " << str << std::endl;
|
std::cerr << "MAE: " << str << std::endl;
|
||||||
|
PBD::stacktrace (std::cerr, 9);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@ -262,6 +263,7 @@ ActionManager::get_action (const string& name, bool or_die)
|
|||||||
}
|
}
|
||||||
|
|
||||||
cerr << "Failed to find action: [" << name << ']' << endl;
|
cerr << "Failed to find action: [" << name << ']' << endl;
|
||||||
|
PBD::stacktrace (std::cerr, 8);
|
||||||
return RefPtr<Action>();
|
return RefPtr<Action>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user