Examples of FaultEvent


Examples of flash.tools.debugger.events.FaultEvent

        if (var == null)
          throw new NoSuchVariableException((var == null) ? m_current : var.getName());

        // set the value, for the case of a variable that does not exist it will not have a type
        // so we try to glean one from v.
        FaultEvent faultEvent = var.setValue(getSession(), v.getType(), v.getValueAsString());
        if (faultEvent != null)
          throw new PlayerFaultException(faultEvent);
      }
    }
    catch(PlayerDebugException pde)
View Full Code Here

Examples of flash.tools.debugger.events.FaultEvent

   * if any, which occurred while the code was executing.
   */
  public FaultEvent endPlayerCodeExecution(int isolateId) {
    DManagerIsolateState state = getIsolateState(isolateId);
    state.m_executingPlayerCode = false;
    FaultEvent e = state.m_faultEventDuringPlayerCodeExecution;
    state.m_faultEventDuringPlayerCodeExecution = null;
    return e;
  }
View Full Code Here

Examples of flash.tools.debugger.events.FaultEvent

   */
  private void handleFaultEvent(FaultEvent faultEvent) {
    DManagerIsolateState isolateState = getIsolateState(faultEvent.isolateId);
    boolean executingPlayerCode = isolateState.m_executingPlayerCode;
    if (executingPlayerCode) {
      FaultEvent faultEventDuringPlayerCodeExecution = isolateState.m_faultEventDuringPlayerCodeExecution;
     
      if (faultEventDuringPlayerCodeExecution == null) // only save the
                                // first fault
      {
        // save the event away so that when someone later calls
View Full Code Here

Examples of flash.tools.debugger.events.FaultEvent

    }

    memberName = getRawMemberName(varId, memberName, isolateId);

    // see if it is our any of our special variables
    FaultEvent faultEvent = requestSetVariable( isPseudoVarId(varId) ? 0 : varId, memberName, type, value, isolateId);

    // now that we sent it out, we need to clear our variable cache
    // if it is our special context then mark the frame as stale.
    if (isPseudoVarId(varId) && m_manager.getFrameCount(isolateId) > 0)
    {
View Full Code Here

Examples of flash.tools.debugger.events.FaultEvent

  {
    // convert type to typeName
    String type = DVariable.typeNameFor(t);
    DMessage dm = buildOutSetMessage(id, name, type, value);
    dm.setTargetIsolate(isolateId);
    FaultEvent faultEvent = null;
//    System.out.println("setmsg id="+id+",name="+name+",t="+type+",value="+value);

    // make sure any exception during the setter gets held onto
    m_manager.beginPlayerCodeExecution(isolateId);
View Full Code Here

Examples of flash.tools.debugger.events.FaultEvent

        if (var == null)
          throw new NoSuchVariableException((var == null) ? m_current : var.getName());

        // set the value, for the case of a variable that does not exist it will not have a type
        // so we try to glean one from v.
        FaultEvent faultEvent = var.setValue(getSession(), v.getType(), v.getValueAsString());
        if (faultEvent != null)
          throw new PlayerFaultException(faultEvent);
      }
    }
    catch(PlayerDebugException pde)
View Full Code Here

Examples of flash.tools.debugger.events.FaultEvent

    }

    memberName = getRawMemberName(varId, memberName);

    // see if it is our any of our special variables
    FaultEvent faultEvent = requestSetVariable( isPseudoVarId(varId) ? 0 : varId, memberName, type, value);

    // now that we sent it out, we need to clear our variable cache
    // if it is our special context then mark the frame as stale.
    if (isPseudoVarId(varId) && m_manager.getFrameCount() > 0)
    {
View Full Code Here

Examples of flash.tools.debugger.events.FaultEvent

  private FaultEvent requestSetVariable(long id, String name, int t, String value) throws NoResponseException
  {
    // convert type to typeName
    String type = DVariable.typeNameFor(t);
    DMessage dm = buildOutSetMessage(id, name, type, value);
    FaultEvent faultEvent = null;
//    System.out.println("setmsg id="+id+",name="+name+",t="+type+",value="+value);

    // make sure any exception during the setter gets held onto
    m_manager.beginPlayerCodeExecution();
View Full Code Here

Examples of flash.tools.debugger.events.FaultEvent

   * if any, which occurred while the code was executing.
   */
  public FaultEvent endPlayerCodeExecution()
  {
    m_executingPlayerCode = false;
    FaultEvent e = m_faultEventDuringPlayerCodeExecution;
    m_faultEventDuringPlayerCodeExecution = null;
    return e;
  }
View Full Code Here

Examples of flash.tools.debugger.events.FaultEvent

        if (var == null)
          throw new NoSuchVariableException((var == null) ? m_current : var.getName());

        // set the value, for the case of a variable that does not exist it will not have a type
        // so we try to glean one from v.
        FaultEvent faultEvent = var.setValue(getSession(), v.getType(), v.getValueAsString());
        if (faultEvent != null)
          throw new PlayerFaultException(faultEvent);
      }
    }
    catch(PlayerDebugException pde)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.