This is my first shot at design of debugger class. It is designed to let me:
benchmark a function or method
check time & memory consumption for (part of) code
show information about script and PHP (eg. list of classes, functions, traits or PHP settings)
export all information about PHP script to file
This code i publish under the terms of GPL v3: http://wklej.org/hash/3d391c3ecea/ Unfortunately it is too long to attach it to this post.
Please take a look at this code and let me know what problems do you see. I would appreciate any comments and constructive criticism.