code: private boolean isDebugOnFor(Frame frame)
      {
          if (_debugOn)
          {
              if (_debugPatterns==null)
                  return true;
              else
              {
                  for (int i = _debugPatterns.size();--i>=0;)
                  {
                      if(frame.getWhere().indexOf((String)_debugPatterns
                                                  .get(i))>=0)
                          return true;
                  }
              }
          }
          return false;
      }
docs: /*-------------------------------------------------------------------