Friday, October 30, 2009

xDebug Related Topics

- xDebug

- use XDebugToolkit to convert the XDebug cachegrind (= “xdebug.log“) to a dot graph
http://code.google.com/p/xdebugtoolkit/

# svn co http://xdebugtoolkit.googlecode.com/svn/tags/0.1.3/xdebugtoolkit/ xdebugtoolkit
# ./cg2dot.py cachegrind.out.23328 > cachegrind.out.23328.dot

# cd /usr/ports/graphics/graphviz ; make install ; rehash
# dot -Tpng -otest.png

Combine to one command:
# ./cg2dot.py cachegrind.out.23328 | dot -Tpng -otest.png

this might be useful /usr/ports/graphics/py-pydot ??

Windows version of Graphviz is also available at: http://www.graphviz.org/Download..php

XDot: Interactive viewer for Graphviz dot files
http://code.google.com/p/jrfonseca/wiki/XDot

- CacheGrind

- WinCacheGrind

- CacheGrindvisualizer
http://code.google.com/p/cachegrindvisualizer/

- Graphviz - Graph Visualization Software
http://graphviz.org/About.php

- ZGRViewer, a GraphViz/DOT Viewer
http://zvtm.sourceforge.net/zgrviewer.html

Dot Language
http://en.wikipedia.org/wiki/DOT_language

- Scalable Vector Graphics (SVG)
http://en.wikipedia.org/wiki/Scalable_Vector_Graphics

No comments: