Пример #1
0
        void executeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                Error(null);
                if (Debugger == null)
                {
                    if (Template == null || Result == null || Result.Instructions == null)
                    {
                        EnableDisableConfig();
                        EnableDisableDebugger();
                        return;
                    }

                    // Create debugger
                    stopToolStripMenuItem_Click(sender, e);
                }

                Debugger.Execute();
            }
            catch (Exception ex)
            {
                Error(ex);
            }
        }