Commit a36856d1 authored by Clinton Stimpson's avatar Clinton Stimpson
Browse files

ENH: Add debug statements if objects aren't found.

parent 27c1dbe7
...@@ -204,6 +204,11 @@ QObject* pqObjectNaming::GetObject(const QString& Name) ...@@ -204,6 +204,11 @@ QObject* pqObjectNaming::GetObject(const QString& Name)
return result; return result;
qCritical() << "Couldn't find object " << Name; qCritical() << "Couldn't find object " << Name;
if(lastObject)
{
qCritical() << "Found up to " << pqObjectNaming::GetName(*lastObject);
}
if(lastObject) if(lastObject)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment