Have you ever been handed some code and told, “make it work”? If you haven’t, chances are good you will some day. It’s often a daunting task, especially since, as one programmer told me, “comments come when the second developer has to make changes.” While this is likely bad coding practice, it’s happened to me more than once.
Lucky for us, XDebug has a built-in tool that helps us evaluate code and figure out some of what is going on without spending all week reading the documentation or the code itself. It’s called “function profiling.”
(more…)
Tuesday, October 21st, 2008 @ 9:32 am |
Comments (0) |
Categories: Best Practices, Debugging
Tags: XDebug, bugs, fixing bugs, PHP