예제 #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();
            }
        }
예제 #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();
        }