diff options
-rw-r--r-- | src/scope.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scope.h b/src/scope.h index 84dfd3ea..75dc2c0f 100644 --- a/src/scope.h +++ b/src/scope.h @@ -241,6 +241,8 @@ private: template <typename T> T * search_scope(scope_t * ptr, bool prefer_direct_parents = false) { + DEBUG("scope.search", "Searching scope " << ptr->description()); + if (T * sought = dynamic_cast<T *>(ptr)) return sought; |