Package flash.tools.debugger.expression

Examples of flash.tools.debugger.expression.NoSuchVariableException


        // now sort according to our criteria
        treeResults(sb, e, member, printPath);
      }
      else
        throw new NoSuchVariableException(result);

      out( sb.toString() );
    }
    catch(NoSuchVariableException nsv)
    {
View Full Code Here


        } finally {
          createPseudoVariables(wasCreateIfMissing);
        }

        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)
View Full Code Here

      // or value
      else if ( (result = resolveToValue(o)) != null)
        ;

      else
        throw new NoSuchVariableException(o);

      // take on the path to the variable; so 'what' command prints something nice
      if ((result != null) && result instanceof VariableFacade)
      {
        ((VariableFacade)result).setPath(getName());
View Full Code Here

        val = resolveToValue(o);
      mems = val.getMembers(getSession());
    }
    catch(NullPointerException npe)
    {
      throw new NoSuchVariableException(o);
    }
    catch(PlayerDebugException pde)
    {
      throw new NoSuchVariableException(o); // not quite right...
    }

      StringBuilder sb = new StringBuilder();

      if (var != null)
View Full Code Here

  {
    Variable v = null;
    Value parent = getSession().getValue(id);

    if (parent == null)
      throw new NoSuchVariableException(name);

    /* got a variable now return the member if any */
    v = parent.getMemberNamed(getSession(), name);

    return v;
View Full Code Here

                dumpTree(new HashMap<Object, String>(), e, name, (Value) result, member);

                // now sort according to our criteria
                treeResults(sb, e, member, printPath);
            } else
                throw new NoSuchVariableException(result);

            out(sb.toString());
        } catch (NoSuchVariableException nsv) {
            Map<String, Object> args = new HashMap<String, Object>();
            args.put("variable", nsv.getMessage()); //$NON-NLS-1$
View Full Code Here

        } finally {
          createPseudoVariables(wasCreateIfMissing);
        }

        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)
View Full Code Here

      // or value
      else if ( (result = resolveToValue(o)) != null)
        ;

      else
        throw new NoSuchVariableException(o);

      // take on the path to the variable; so 'what' command prints something nice
      if ((result != null) && result instanceof VariableFacade)
      {
        ((VariableFacade)result).setPath(getName());
View Full Code Here

        val = resolveToValue(o);
      mems = val.getMembers(getSession());
    }
    catch(NullPointerException npe)
    {
      throw new NoSuchVariableException(o);
    }
    catch(PlayerDebugException pde)
    {
      throw new NoSuchVariableException(o); // not quite right...
    }

      StringBuilder sb = new StringBuilder();

      if (var != null)
View Full Code Here

  {
    Variable v = null;
    Value parent = getSession().getWorkerSession(m_isolateId).getValue(id);

    if (parent == null)
      throw new NoSuchVariableException(name);

    /* got a variable now return the member if any */
    v = parent.getMemberNamed(getSession(), name);

    return v;
View Full Code Here

TOP

Related Classes of flash.tools.debugger.expression.NoSuchVariableException

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.