Exemplo n.º 1
0
        void flashInterface_BreakpointEvent(object sender)
        {
            Location loc = FlashInterface.getCurrentLocation();

            if (PluginMain.breakPointManager.ShouldBreak(loc.File, loc.Line) || File.Exists(loc.File.FullPath))
            {
                UpdateUI(DebuggerState.BreakHalt);
            }
            else
            {
                FlashInterface.StepResume();
            }
        }
Exemplo n.º 2
0
        void UpdateUI(DebuggerState state)
        {
            if ((PluginBase.MainForm as Form).InvokeRequired)
            {
                (PluginBase.MainForm as Form).BeginInvoke((MethodInvoker) delegate()
                {
                    UpdateUI(state);
                });
                return;
            }

            CurrentLocation = FlashInterface.getCurrentLocation();

            UpdateStackUI();
            UpdateLocalsUI();

            UpdateMenuState(state);

            (PluginBase.MainForm as Form).Activate();
        }