View unanswered posts | View active topics

Reply to topic  [ 1 post ] 
Breakpoints in external loaded swf 
Author Message

Joined: Sat Aug 13, 2011 10:30 am
Posts: 15
Reply with quote
I describe problem here: viewtopic.php?f=6&t=10775
and now make updates for FlashDebugger code.

line 237 add function:
 public void ForceBreakPointUpdates()
            foreach (BreakPointInfo bp in m_BreakPointList)
                bp.Location = null;

line 838:
         if (nFiles > 0)
                //=== UPDATE: m_Session.getSwfs() can return items with equalent swf name and sources loaction, if movie reload external .swf more that once time.
                //=== reverse loop for take latest loded swf first, and ignore old swf.
                SwfInfo[] swfInfo = m_Session.getSwfs();
            for (int swfC = swfInfo.Length-1; swfC >= 0; swfC--)
                    SwfInfo swf = swfInfo[swfC];
                //=== UPDATE END ================================================================================================================================

               if (swf == null) continue;

line 386:
private void flashInterface_ScriptLoadedEvent(object sender)
 //=== UPDATE: force all breakpoints update after new as code loaded into debug movie =================
 //=== UPDATE END=====================================================================

Sun Jun 02, 2013 6:36 am
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.