Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        private void flashInterface_BreakpointEvent(object sender)
        {
            Location loc = FlashInterface.getCurrentLocation();

            if (PluginMain.breakPointManager.ShouldBreak(loc.getFile(), loc.getLine()))
            {
                UpdateUI(DebuggerState.BreakHalt);
            }
            else
            {
                FlashInterface.StepResume();
            }
        }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        private void flashInterface_BreakpointEvent(object sender)
        {
            Location loc = FlashInterface.getCurrentLocation();

            // todo checking for loc here, but should handle swfloaded case and wait with breakpoint event
            if (loc != null && PluginMain.breakPointManager.ShouldBreak(loc.getFile(), loc.getLine()))
            {
                UpdateUI(DebuggerState.BreakHalt);
            }
            else
            {
                FlashInterface.StepResume();
            }
        }