Package flash.tools.debugger

Examples of flash.tools.debugger.Location


  {
    // 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


  // see if this module, line combo is the current location
  boolean isCurrentLocation(int module, int line)
  {
    boolean yes = false;
    Location l = getCurrentLocation();
    if (l != null)
    {
      SourceFile file = l.getFile();
      if (file != null && file.getId() == module && l.getLine() == line)
        yes = true;
    }
    return yes;
  }
View Full Code Here

  }
 
  boolean enableBreakpoint(BreakAction a, boolean autoDisable, boolean autoDelete) throws NotConnectedException
  {
    boolean retval = false;
    Location l = a.getLocation();   // use the first location as a source file / line number template
    if (l != null)
    {
      LocationCollection col = enableBreak(l.getFile(), l.getLine());
      if (!col.isEmpty())
      {
        a.setEnabled(true);
        a.setLocations(col);
        a.setAutoDisable(autoDisable);
View Full Code Here

   *
   * @return some hit breakpoint requested silence, shhhh!
   */
  boolean processBreak(boolean postStep, StringBuilder sb) throws NotConnectedException
  {
    Location l = getCurrentLocation();
    if (l == null || l.getFile() == null)
      return false;

    int fileId = l.getFile().getId();
    int line = l.getLine();
    boolean isSilent = false;
    boolean bpHit = false;
    boolean stoppedDueToBp = false;

    int count = breakpointCount();
View Full Code Here

TOP

Related Classes of flash.tools.debugger.Location

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.