[NUI] Reduce error log by the request of user
authordongsug.song <dongsug.song@samsung.com>
Sat, 11 Jan 2025 04:09:49 +0000 (13:09 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 22 Jan 2025 09:01:44 +0000 (18:01 +0900)
- 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

index 1c361821ed3f1aef2c8c5be11a90eeab3a94f249..319f3dd8a82b8249800a1896b653fb0ba6423f09 100755 (executable)
@@ -70,7 +70,7 @@ namespace Tizen.NUI
                 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());