diff --git a/Template.cpp b/Template.cpp index 2b041282..bdda6059 100644 --- a/Template.cpp +++ b/Template.cpp @@ -15,6 +15,7 @@ CString CTemplateLoopContext::GetValue(const CString& sName) { CTemplate* pTemplate = GetCurRow(); if (!pTemplate) { + DEBUG_ONLY(cerr << "Loop [" << GetName() << "] has no row index [" << GetCurRow() << "]" << endl); return ""; }