Package flash.tools.debugger

Examples of flash.tools.debugger.Frame


    {
      boolean showThis = propertyGet(INFO_STACK_SHOW_THIS) == 1;
      for(int i=0; i<stack.length; i++)
      {
        // keep spitting out frames until we can't
        Frame frame = stack[i];
        boolean valid = appendFrameInfo(sb, frame, i, showThis, true);
        sb.append(m_newline);
                if (!valid)
                    break;
      }
View Full Code Here


    try
    {
      // get the variables from the requested frame
      int num = propertyGet(DISPLAY_FRAME_NUMBER);
      Frame[] ar = m_session.getFrames();
      Frame ctx = ar[num];
      Variable[] vars = ctx.getLocals(m_session);

      for(int i=0; i<vars.length; i++)
      {
        Variable v = vars[i];
View Full Code Here

    try
    {
      // get the scope chainfrom the requested frame
      int num = propertyGet(DISPLAY_FRAME_NUMBER);
      Frame[] ar = m_session.getFrames();
      Frame ctx = ar[num];
      Variable[] scopes = ctx.getScopeChain(m_session);

      for(int i=0; i<scopes.length; i++)
      {
        Variable scope = scopes[i];
                m_exprCache.appendVariable(sb, scope);
View Full Code Here

  // set the listing command to point to the file/line of the given frame
  void setListingToFrame(int frameNum) throws PlayerDebugException
  {
    // set the module and line
    Frame[] frames = m_session.getFrames();
    Frame ctx = frames[frameNum];

    Location l = ctx.getLocation();
    SourceFile f = l.getFile();
    int id = f.getId();
    int line = l.getLine();

        setListingPosition(id, line);
View Full Code Here

    {
      boolean showThis = propertyGet(INFO_STACK_SHOW_THIS) == 1;
      for(int i=0; i<stack.length; i++)
      {
        // keep spitting out frames until we can't
        Frame frame = stack[i];
        boolean valid = appendFrameInfo(sb, frame, i, showThis, false);
        sb.append(m_newline);
                if (!valid)
                    break;
      }
View Full Code Here

    try
    {
      // get the variables from the requested frame
      int num = propertyGet(DISPLAY_FRAME_NUMBER);
      Frame[] ar = m_session.getFrames();
      Frame ctx = ar[num];
      Variable[] vars = ctx.getLocals(m_session);

      for(int i=0; i<vars.length; i++)
      {
        Variable v = vars[i];
View Full Code Here

    try
    {
      // get the scope chainfrom the requested frame
      int num = propertyGet(DISPLAY_FRAME_NUMBER);
      Frame[] ar = m_session.getFrames();
      Frame ctx = ar[num];
      Variable[] scopes = ctx.getScopeChain(m_session);

      for(int i=0; i<scopes.length; i++)
      {
        Variable scope = scopes[i];
        ExpressionCache.appendVariable(sb, scope);
View Full Code Here

  // set the listing command to point to the file/line of the given frame
  void setListingToFrame(int frameNum) throws PlayerDebugException
  {
    // set the module and line
    Frame[] frames = m_session.getFrames();
    Frame ctx = frames[frameNum];

    Location l = ctx.getLocation();
    SourceFile f = l.getFile();
    int id = f.getId();
    int line = l.getLine();

        setListingPosition(id, line);
View Full Code Here

TOP

Related Classes of flash.tools.debugger.Frame

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.