From e98f7c6d1a23c5839549e9103c4edc7414909da8 Mon Sep 17 00:00:00 2001 From: James Clancey Date: Wed, 3 Jul 2019 12:31:01 -0800 Subject: [PATCH] Added better debuging messages --- src/HotUI/BindingObject.cs | 4 ++-- src/HotUI/Controls/View.cs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/HotUI/BindingObject.cs b/src/HotUI/BindingObject.cs index fdfb0cbd..8a10b054 100644 --- a/src/HotUI/BindingObject.cs +++ b/src/HotUI/BindingObject.cs @@ -279,7 +279,7 @@ namespace HotUI } } } - Console.WriteLine(type); + // Console.WriteLine(type); hasChecked = true; } internal void DisposingObject(object obj) @@ -311,7 +311,7 @@ namespace HotUI } } } - Console.WriteLine(type); + //Console.WriteLine(type); hasChecked = true; } diff --git a/src/HotUI/Controls/View.cs b/src/HotUI/Controls/View.cs index da9ef966..4f4f4ccb 100644 --- a/src/HotUI/Controls/View.cs +++ b/src/HotUI/Controls/View.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; namespace HotUI { @@ -100,6 +101,7 @@ namespace HotUI { return this; if (builtView != null) return builtView; + Debug.WriteLine ($"Building View: {this.GetType().Name}"); using (new StateBuilder (State)) { State.SetParent (this); State.StartProperty ();