Package flash.tools.debugger

Examples of flash.tools.debugger.NotSuspendedException


   * @see flash.tools.debugger.Session#stepContinue()
   */
  public void stepContinue() throws NotSuspendedException, NoResponseException, NotConnectedException
  {
    if (!isSuspended())
      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


 
  public Variable[] getVariableListWorker(int isolateId) throws NotSuspendedException, NoResponseException, NotConnectedException, VersionException
  {
    // make sure the player has stopped and send our message awaiting a response
    if (!isWorkerSuspended(isolateId))
      throw new NotSuspendedException();

    requestFrame(0, isolateId)// our 0th frame gets our local context

    // now let's request all of the special variables too
    getValueWorker(Value.GLOBAL_ID, isolateId);
View Full Code Here

  public void requestFrame(int depth, int isolateId) throws NotSuspendedException, NoResponseException, NotConnectedException
  {
    if (playerSupportsGet())
    {
      if (!isWorkerSuspended(isolateId))
        throw new NotSuspendedException();

      int timeout = getPreference(SessionManager.PREF_CONTEXT_RESPONSE_TIMEOUT);

      DMessage dm = DMessageCache.alloc(4);
      dm.setType(DMessage.OutGetFrame);
View Full Code Here

  public Value getValueWorker(long valueId, int isolateId) throws NotSuspendedException, NoResponseException, NotConnectedException
  {
    DValue val = null;

    if (!isWorkerSuspended(isolateId))
      throw new NotSuspendedException();

    // get it from cache if we can
    val = m_manager.getValue(valueId, isolateId);

    if (val == null)
View Full Code Here

   * @throws flash.tools.debugger.NotSuspendedException
   */
  void obtainMembers(long valueId, int isolateId) throws NoResponseException, NotConnectedException, NotSuspendedException
  {
    if (!isWorkerSuspended(isolateId))
      throw new NotSuspendedException();

    // Get it from cache.  Normally, this should never fail; however, in
    // the case of Flex Builder, which is multithreaded, it is possible
    // that a thread has called this even after a different thread has
    // single-stepped, so that the original variable is no longer valid.
View Full Code Here

        // reset our attach flag, so that children attach to parent variables.
        m_manager.enableChildAttach(true, isolateId);
      }
    }
    else
      throw new NotSuspendedException();

    return v;
  }
View Full Code Here

   * @return the return value of the function
   */
  private Value callFunction(Value thisValue, boolean isConstructor, String funcname, Value[] args, int isolateId) throws PlayerDebugException
  {
    if (!isWorkerSuspended(isolateId))
      throw new NotSuspendedException();

    if (!playerCanCallFunctions(isolateId))
      throw new NotSupportedException(PlayerSessionManager.getLocalizationManager().getLocalizedTextString("functionCallsNotSupported")); //$NON-NLS-1$

    // name = getRawMemberName(id, name);
View Full Code Here

  }

  private void requestVariable(long id, String name, boolean fireGetter, boolean alsoGetChildren, int isolateId) throws NoResponseException, NotConnectedException, NotSuspendedException
  {
    if (!isWorkerSuspended(isolateId))
      throw new NotSuspendedException();

    name = getRawMemberName(id, name, isolateId);

    DMessage dm = buildOutGetMessage(id, name, fireGetter, alsoGetChildren);
View Full Code Here

  }

  public FaultEvent setScalarMember(long varId, String memberName, int type, String value, int isolateId) throws NotSuspendedException, NoResponseException, NotConnectedException
  {
    if (!isWorkerSuspended(isolateId))
      throw new NotSuspendedException();

    // If the varId is that of a stack frame, then we need to check whether that
    // stack frame has an "activation object".  If it does, then all of the
    // arguments and locals are actually kept as members of that activation
    // object, and so we need to change varId to be the ID of that activation
View Full Code Here

          // if the last message that went out was not responded to
          // or we are not suspended and have high traffic
          // then wait for later.
          if (!m_lastResponse || (!isSuspended() && delta > 5))
            throw new NotSuspendedException();

          // we are either suspended or low enough traffic

          // get the list of swfs we have
          for (Isolate isolate : m_manager.getIsolates()) {
            int isolateId = isolate.getId();
            if (isolateId != Isolate.DEFAULT_ID && !isWorkerSuspended(isolateId) && delta > 5) {
              throw new NotSuspendedException();
            }
            int count = m_manager.getSwfInfoCount(isolateId);
            for(int i=0; i<count; i++)
            {
              DSwfInfo info = m_manager.getSwfInfo(i, isolateId);
View Full Code Here

TOP

Related Classes of flash.tools.debugger.NotSuspendedException

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.