nsIAtom* tag; nsAutoString tagString; mContent->GetTag(tag); if (tag != nsnull) { tag->ToString(tagString); NS_RELEASE(tag);
PRInt32 i; for (i = aIndent; --i >= 0; ) fputs("  ", out); PRInt32 contentIndex; GetContentIndex(contentIndex); fprintf(out, "Bullet(%d)@%p ", contentIndex, this); nsIView* view; GetView(view); if (nsnull != view) { fprintf(out, " [view=%p]", view);
nsBlockFrame::List(FILE* out, PRInt32 aIndent, nsIListFilter *aFilter) const{  // if a filter is present, only output this frame if the filter says we should  nsIAtom* tag;  nsAutoString tagString;  mContent->GetTag(tag);  if (tag != nsnull)   {    tag->ToString(tagString);    NS_RELEASE(tag);  }  PRInt32 i;  PRBool outputMe = (PRBool)((nsnull==aFilter) || ((PR_TRUE==aFilter->OutputTag(&tagString)) && (!IsPseudoFrame())));  if (PR_TRUE==outputMe)  {    // Indent    for (i = aIndent; --i >= 0; ) fputs("  ", out);    // Output the tag    ListTag(out);    nsIView* view;    GetView(view);    if (nsnull != view) {      fprintf(out, " [view=%p]", view);    }    // Output the flow linkage    if (nsnull != mPrevInFlow) {      fprintf(out, "prev-in-flow=%p ", mPrevInFlow);    }    if (nsnull != mNextInFlow) {      fprintf(out, "next-in-flow=%p ", mNextInFlow);    }    // Output the rect and state    out << mRect;    if (0 != mState) {      fprintf(out, " [state=%08x]", mState);    }  }  // Output the children, one line at a time  if (nsnull != mLines) {    if (PR_TRUE==outputMe)      fputs("<\n", out);    aIndent++;    LineData* line = mLines;    while (nsnull != line) {      line->List(out, aIndent, aFilter, outputMe);      line = line->mNext;    }    aIndent--;    if (PR_TRUE==outputMe)    {      for (i = aIndent; --i >= 0; ) fputs("  ", out);      fputs(">", out);    }  }  else {    if (PR_TRUE==outputMe)      fputs("<>", out);  }  if (PR_TRUE==outputMe)  {    // Output the text-runs    if (nsnull != mTextRuns) {      fputs(" text-runs=<\n", out);      ListTextRuns(out, aIndent + 1, mTextRuns);      for (i = aIndent; --i >= 0; ) fputs("  ", out);      fputs(">", out);    }    fputs("\n", out);  }  return NS_OK;}