changeset 692:ad5917362158 by-id

Debug
author Chris Cannam
date Wed, 17 Jul 2019 11:20:24 +0100
parents c8ba09756eff
children 3c5dc95bea91
files framework/Document.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/framework/Document.cpp	Fri Jul 12 13:58:02 2019 +0100
+++ b/framework/Document.cpp	Wed Jul 17 11:20:24 2019 +0100
@@ -821,7 +821,7 @@
     for (auto layer: m_layers) {
         if (layer->getModel() == modelId) {
 #ifdef DEBUG_DOCUMENT
-            SVCERR << "Document::releaseModel: It's still in use in at least one layer, ignoring" << endl;
+            SVCERR << "Document::releaseModel: It's still in use in at least one layer (e.g. " << layer << ", \"" << layer->getLayerPresentationName() << "\"), ignoring" << endl;
 #endif
             return;
         }