зеркало из https://github.com/mozilla/gecko-dev.git
Added address information to the dump content diagnostic code
This commit is contained in:
Родитель
be3c86d804
Коммит
1fe14ebeaa
|
@ -311,7 +311,7 @@ nsCommentNode::List(FILE* out, PRInt32 aIndent) const
|
|||
PRInt32 indx;
|
||||
for (indx = aIndent; --indx >= 0; ) fputs(" ", out);
|
||||
|
||||
fprintf(out, "Comment refcount=%d<!--", mRefCnt);
|
||||
fprintf(out, "Comment@%p refcount=%d<!--", this, mRefCnt);
|
||||
|
||||
nsAutoString tmp;
|
||||
mInner.ToCString(tmp, 0, mInner.mText.GetLength());
|
||||
|
|
|
@ -2016,6 +2016,7 @@ nsGenericContainerElement::List(FILE* out, PRInt32 aIndent) const
|
|||
fputs(buf, out);
|
||||
NS_RELEASE(tag);
|
||||
}
|
||||
fprintf(out, "@%p", mContent);
|
||||
|
||||
ListAttributes(out);
|
||||
|
||||
|
|
|
@ -182,7 +182,7 @@ nsTextNode::List(FILE* out, PRInt32 aIndent) const
|
|||
PRInt32 index;
|
||||
for (index = aIndent; --index >= 0; ) fputs(" ", out);
|
||||
|
||||
fprintf(out, "Text refcount=%d<", mRefCnt);
|
||||
fprintf(out, "Text@%p refcount=%d<", this, mRefCnt);
|
||||
|
||||
nsAutoString tmp;
|
||||
mInner.ToCString(tmp, 0, mInner.mText.GetLength());
|
||||
|
|
|
@ -311,7 +311,7 @@ nsCommentNode::List(FILE* out, PRInt32 aIndent) const
|
|||
PRInt32 indx;
|
||||
for (indx = aIndent; --indx >= 0; ) fputs(" ", out);
|
||||
|
||||
fprintf(out, "Comment refcount=%d<!--", mRefCnt);
|
||||
fprintf(out, "Comment@%p refcount=%d<!--", this, mRefCnt);
|
||||
|
||||
nsAutoString tmp;
|
||||
mInner.ToCString(tmp, 0, mInner.mText.GetLength());
|
||||
|
|
|
@ -2016,6 +2016,7 @@ nsGenericContainerElement::List(FILE* out, PRInt32 aIndent) const
|
|||
fputs(buf, out);
|
||||
NS_RELEASE(tag);
|
||||
}
|
||||
fprintf(out, "@%p", mContent);
|
||||
|
||||
ListAttributes(out);
|
||||
|
||||
|
|
|
@ -182,7 +182,7 @@ nsTextNode::List(FILE* out, PRInt32 aIndent) const
|
|||
PRInt32 index;
|
||||
for (index = aIndent; --index >= 0; ) fputs(" ", out);
|
||||
|
||||
fprintf(out, "Text refcount=%d<", mRefCnt);
|
||||
fprintf(out, "Text@%p refcount=%d<", this, mRefCnt);
|
||||
|
||||
nsAutoString tmp;
|
||||
mInner.ToCString(tmp, 0, mInner.mText.GetLength());
|
||||
|
|
Загрузка…
Ссылка в новой задаче