Package flash.tools.debugger

Examples of flash.tools.debugger.InProgressException


    private List<SourceFile> getSimilarSourceFilesInSwf(final SwfInfo info, final SourceFile file) throws InProgressException {
        if (!info.isProcessingComplete()) {
            // IDEA-94128. For unknown reason m_fileInfo.getSwfs() may contain "unknown" swf which is marked as not fully loaded,
            // but in fact containing full list of correct sources. At the same time correct swf doesn't contain sources.
            if (!(info instanceof DSwfInfo) || !((DSwfInfo) info).hasAllSource()) {
                throw new InProgressException();
            }
        }

        final List<SourceFile> result = new LinkedList<SourceFile>();
View Full Code Here


    public SourceFile similarFileInSwf(SwfInfo info, SourceFile f) throws InProgressException
    {
        SourceFile hit = null;
    SourceFile[] files = info.getSourceList(m_session);
    if (!info.isProcessingComplete())
      throw new InProgressException();

    for(int i=0; i<files.length; i++)
    {
      if (filesMatch(f, files[i]))
        hit = files[i];
View Full Code Here

      if (!m_swdLoading)
        // done!
      else if (getSourceExpectedCount() > -1 && m_numRefreshes > 10)
        setPopulated()// tried too many times, so bail big time, no swd available (only if we already have our expected count)
      else
        throw new InProgressException(); // still loading!!!
    }
  }
View Full Code Here

      if (!m_swdLoading)
        // done!
      else if (getSourceExpectedCount() > -1 && m_numRefreshes > 10)
        setPopulated()// tried too many times, so bail big time, no swd available (only if we already have our expected count)
      else
        throw new InProgressException(); // still loading!!!
    }
  }
View Full Code Here

        try { attempts--; Thread.sleep(period); } catch(InterruptedException ie) {}
    }

    // throw exception if still not ready
    if (!isMetaDataAvailable())
      throw new InProgressException();

        return start-attempts;  // remaining number of tries
  }
View Full Code Here

    public SourceFile similarFileInSwf(SwfInfo info, SourceFile f) throws InProgressException
    {
        SourceFile hit = null;
    SourceFile[] files = info.getSourceList(m_session);
    if (!info.isProcessingComplete())
      throw new InProgressException();

    for(int i=0; i<files.length; i++)
    {
      if (filesMatch(f, files[i]))
        hit = files[i];
View Full Code Here

TOP

Related Classes of flash.tools.debugger.InProgressException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.