From 6f348ea8932be2fcb8c34e95e1eaf1dc55d30e01 Mon Sep 17 00:00:00 2001
From: Robert Butora <robert.butora@inaf.it>
Date: Sat, 28 Sep 2024 12:49:10 +0200
Subject: [PATCH] vlkb: adds debug (isSpecFrame is-spec-domain)

---
 data-access/engine/src/common/src/ast_frameset.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/data-access/engine/src/common/src/ast_frameset.cpp b/data-access/engine/src/common/src/ast_frameset.cpp
index caffcc8..9a8c724 100644
--- a/data-access/engine/src/common/src/ast_frameset.cpp
+++ b/data-access/engine/src/common/src/ast_frameset.cpp
@@ -200,7 +200,9 @@ bool ast::frameset::has_specframe(void)
       }
 
       int isspec = astIsASpecFrame((AstFrame*)frm);
-      if(isspec && is_specdomain(frm)) return true;
+      int isspecdomain = is_specdomain(frm);
+      LOG_STREAM << "isSpecFrame: " << to_string(isspec) << " is_specdomain: " << to_string(isspecdomain) << endl;
+      if(isspec && isspecdomain) return true;
 
       cmpframe = first;
 
-- 
GitLab