Package flash.tools.debugger

Examples of flash.tools.debugger.NotSupportedException


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

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

    // name = getRawMemberName(id, name);

    m_manager.clearLastFunctionCall(isolateId);
View Full Code Here


  public boolean addWatch(long varId, String varName, int type, int tag, int isolateId) throws NoResponseException, NotConnectedException, NotSupportedException
  {
    // TODO check for NoResponse, NotConnected

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

    varName = getRawMemberName(varId, varName, isolateId);
    DMessage dm = DMessageCache.alloc(4+DMessage.getSizeofPtr()+DMessage.getStringLength(varName)+1);
    dm.setType(DMessage.OutAddWatch2);
    dm.setTargetIsolate(isolateId);
View Full Code Here

    breakOnCaughtExceptions(b, Isolate.DEFAULT_ID);
  }
 
  public void breakOnCaughtExceptions(boolean b, int isolateId) throws NotSupportedException, NoResponseException {
    if (!playerCanBreakOnAllExceptions(isolateId))
      throw new NotSupportedException(PlayerSessionManager.getLocalizationManager().getLocalizedTextString("exceptionBreakpointsNotSupported")); //$NON-NLS-1$

    DMessage dm = DMessageCache.alloc(1);
    dm.setType(DMessage.OutPassAllExceptionsToDebugger);
    dm.putByte((byte)(b ? 1 : 0));
    dm.setTargetIsolate(isolateId);
View Full Code Here

    if (!playerCanCallFunctions(isolateId))
    {
      Map<String,String> parameters = new HashMap<String,String>();
      parameters.put("operator", op.getName()); //$NON-NLS-1$
      String message = PlayerSessionManager.getLocalizationManager().getLocalizedTextString("operatorNotSupported", parameters); //$NON-NLS-1$
      throw new NotSupportedException(message);
    }

    int id = (int) (Math.random() * 65536); // good 'nuff
    DMessage dm = buildBinaryOpMessage(id, op, lhs, rhs);

View Full Code Here

   * @see flash.tools.debugger.Session#refreshIsolates()
   */
  public Isolate[] refreshWorkers() throws NotSupportedException,
      NotSuspendedException, NoResponseException, NotConnectedException {
    if (!supportsConcurrency()) {
      throw new NotSupportedException(PlayerSessionManager.getLocalizationManager().getLocalizedTextString("concurrencyNotSupported")); //$NON-NLS-1$
    }
    if (!isSuspended())
      throw new NotSuspendedException();
   
    boolean response = simpleRequestResponseMessage(DMessage.OutIsolateEnumerate, DMessage.InIsolateEnumerate);
View Full Code Here

  {
    if (!isSuspended())
      throw new NotSuspendedException();

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

    // name = getRawMemberName(id, name);

    m_manager.clearLastFunctionCall();
View Full Code Here

  public boolean addWatch(long varId, String varName, int type, int tag) throws NoResponseException, NotConnectedException, NotSupportedException
  {
    // TODO check for NoResponse, NotConnected

    if (!supportsWatchpoints())
      throw new NotSupportedException(PlayerSessionManager.getLocalizationManager().getLocalizedTextString("watchpointsNotSupported")); //$NON-NLS-1$

    varName = getRawMemberName(varId, varName);
    DMessage dm = DMessageCache.alloc(4+DMessage.getSizeofPtr()+DMessage.getStringLength(varName)+1);
    dm.setType(DMessage.OutAddWatch2);
    dm.putPtr(varId);
View Full Code Here

    m_airLaunchInfo = airLaunchInfo;
  }

  public void breakOnCaughtExceptions(boolean b) throws NotSupportedException, NoResponseException {
    if (!playerCanBreakOnAllExceptions())
      throw new NotSupportedException(PlayerSessionManager.getLocalizationManager().getLocalizedTextString("exceptionBreakpointsNotSupported")); //$NON-NLS-1$

    DMessage dm = DMessageCache.alloc(1);
    dm.setType(DMessage.OutPassAllExceptionsToDebugger);
    dm.putByte((byte)(b ? 1 : 0));
    sendMessage(dm);
View Full Code Here

    if (!playerCanCallFunctions())
    {
      Map<String,String> parameters = new HashMap<String,String>();
      parameters.put("operator", op.getName()); //$NON-NLS-1$
      String message = PlayerSessionManager.getLocalizationManager().getLocalizedTextString("operatorNotSupported", parameters); //$NON-NLS-1$
      throw new NotSupportedException(message);
    }

    int id = (int) (Math.random() * 65536); // good 'nuff
    DMessage dm = buildBinaryOpMessage(id, op, lhs, rhs);

View Full Code Here

TOP

Related Classes of flash.tools.debugger.NotSupportedException

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.