Stacktrace helper for harmony generators