From b34948dbe31d87a6e83869ed5175262d483d8f1f Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Sat, 11 Jan 2025 13:09:49 +0900 Subject: [PATCH] [NUI] Reduce error log by the request of user - Reduce error log print. - Limit trace call stack depth at 5, when the exception case of ViewSignal Disconnect by the request of GBM. --- src/Tizen.NUI/src/internal/Common/ViewSignal.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tizen.NUI/src/internal/Common/ViewSignal.cs b/src/Tizen.NUI/src/internal/Common/ViewSignal.cs index 1c361821ed3..319f3dd8a82 100755 --- a/src/Tizen.NUI/src/internal/Common/ViewSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ViewSignal.cs @@ -70,7 +70,7 @@ public void Disconnect(System.Delegate func) Tizen.Log.Fatal("NUI", $"[ERROR] current threadID : {Thread.CurrentThread.ManagedThreadId}"); Tizen.Log.Fatal("NUI", $"[ERROR] back trace!"); global::System.Diagnostics.StackTrace st = new global::System.Diagnostics.StackTrace(true); - for (int i = 0; i < st.FrameCount; i++) + for (int i = 0; i < global::System.Math.Min(5, st.FrameCount); i++) { global::System.Diagnostics.StackFrame sf = st.GetFrame(i); Tizen.Log.Fatal("NUI", " Method " + sf.GetMethod());