13
0

stacktraces to help track down missing actions

This commit is contained in:
Paul Davis 2024-02-13 12:22:14 -07:00
parent 59ed3d7138
commit 009a0e6ffb

View File

@ -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>();
} }