Gecko:Debugging Tools: Difference between revisions

(bz's notes on frame and reflow logs)
 
Line 13: Line 13:
<bz> That should work when called on any nsIFrame to dump the tree it belongs to
<bz> That should work when called on any nsIFrame to dump the tree it belongs to


== Printing nsIAtoms ==
  def satom
    p *((class nsStaticAtomWrapper*)$arg0)->mStaticAtom
  end
<bz> to be used as: ''satom content->Tag()'' or ''satom frame->GetType()''
<bz> for nsGkAtoms it'll work great


== Reflow Logs ==
== Reflow Logs ==


See [[http://www.mozilla.org/newlayout/doc/frame_reflow_debug.html Debugging Frame Reflow]]
See [[http://www.mozilla.org/newlayout/doc/frame_reflow_debug.html Debugging Frame Reflow]]
Confirmed users
104

edits