diff -r 1d90296ad3fc -r c4ff45e98551 src/document.cc --- a/src/document.cc Wed Dec 18 19:39:55 2013 +0200 +++ b/src/document.cc Wed Dec 18 20:43:50 2013 +0200 @@ -872,7 +872,7 @@ #ifdef DEBUG if (!isImplicit()) - dlog ("Added object #%1\n", obj->getID()); + dlog ("Added object #%1 (%2)\n", obj->getID(), obj->getTypeName()); #endif obj->setFile (this); @@ -893,6 +893,11 @@ { getHistory()->add (new AddHistory (pos, obj)); m_Objects.insert (pos, obj); obj->setFile (this); + +#ifdef DEBUG + if (!isImplicit()) + dlog ("Inserted object #%1 (%2) at %3\n", obj->getID(), obj->getTypeName(), pos); +#endif } // =============================================================================