Ejemplo n.º 1
0
            public Log(BaseScope scope, BaseScope otherScope, ScopeDebugger.ScopeEvent scopeEv)
            {
                name = scopeEv.type.ToString() + " Scope";

                color = Color.white;
                if (scopeEv.type == ScopeDebugger.ScopeEvent.Type.Switch)
                {
                    parameters = new string[] { scope.GetType().Name, otherScope.GetType().Name }
                }
                ;
                else
                {
                    parameters = new string[] { scope.GetType().Name }
                };
            }
        }
Ejemplo n.º 2
0
        void ScopeDebugger_OnScopeEvent(BaseScope scope, BaseScope otherScope, ScopeDebugger.ScopeEvent scopeEvent)
        {
            logs.Add(new Log(scope, otherScope, scopeEvent));

            Repaint();
        }