Package flash.tools.debugger

Examples of flash.tools.debugger.NoResponseException


      {
        try { Thread.sleep(1); } catch (InterruptedException e) { }
      }
    }
    if (System.currentTimeMillis() >= timeoutTime && !m_session.isSuspended())
      throw new NoResponseException(timeout);
  }
View Full Code Here


    dm.putWord(0)// rserved

    int to = getPreference(SessionManager.PREF_CONTEXT_RESPONSE_TIMEOUT);

    if (!simpleRequestResponseMessage(dm, DMessage.InSwfInfo, to))
      throw new NoResponseException(to);
  }
View Full Code Here

    // request action bytes
    int to = getPreference(SessionManager.PREF_CONTEXT_RESPONSE_TIMEOUT);
    if (simpleRequestResponseMessage(dm, DMessage.InGetActions, to))
      actions = m_manager.getActions();
    else
      throw new NoResponseException(to);

    return actions;
  }
View Full Code Here

      throw new NotSuspendedException();

    // send a step-continue message and then wait for the Flash player to tell us that is has
    // resumed execution
    if (!simpleRequestResponseMessage(DMessage.OutStepContinue, DMessage.InContinue))
      throw new NoResponseException(getPreference(SessionManager.PREF_RESPONSE_TIMEOUT));
  }
View Full Code Here

            dm.setTargetIsolate(isolateId);
            dm.putDWord(moduleId);
            dm.putDWord(lineNbr);

            if (!simpleRequestResponseMessage(dm, DMessage.InGetFncNames))
                throw new NoResponseException(0);
        }
        else
        {
            throw new VersionException();
        }
View Full Code Here

      DMessage dm = DMessageCache.alloc(4);
      dm.setType(DMessage.OutGetFrame);
      dm.setTargetIsolate(isolateId);
      dm.putDWord(depth)// depth of zero
      if (!simpleRequestResponseMessage(dm,  DMessage.InFrame, timeout)) {
        throw new NoResponseException(timeout);
      }

      pullUpActivationObjectVariables(depth, isolateId);
    }
  }
View Full Code Here

    // tell manager we're done; ignore returned FaultEvent
    m_manager.endPlayerCodeExecution(isolateId);

    if (!result)
      throw new NoResponseException(timeout);

    DVariable lastFunctionCall = m_manager.lastFunctionCall(isolateId);
    if (lastFunctionCall != null)
      return lastFunctionCall.getValue();
    else
View Full Code Here

    // tell manager we're done; ignore returned FaultEvent
    m_manager.endPlayerCodeExecution(isolateId);

    if (!result)
      throw new NoResponseException(timeout);
  }
View Full Code Here

    sendSquelch(false, isolateId);

    int timeout = getPreference(SessionManager.PREF_GETVAR_RESPONSE_TIMEOUT);

    if (!simpleRequestResponseMessage(dm, (t == VariableType.STRING) ? DMessage.InSetVariable : DMessage.InSetVariable2, timeout))
      throw new NoResponseException(getPreference(SessionManager.PREF_RESPONSE_TIMEOUT));

    // turn it back on
    sendSquelch(true, isolateId);

    // tell manager we're done, and get exception if any
View Full Code Here

    dm.putWord(index);

    if (simpleRequestResponseMessage(dm, DMessage.InGetSwf, to))
      swf = m_manager.getSWF();
    else
      throw new NoResponseException(to);

    return swf;
  }
View Full Code Here

TOP

Related Classes of flash.tools.debugger.NoResponseException

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.