Nick Halstead continues the "Programming Tips" series on his blog today with
tip number nine (a very handy tip indeed) - using
debug_backtrace from
Larry Garfield.
Despite the proliferation of debugging tools, especially real-time debuggers, "debugging by print statement" remains the most common form of debugging in most programming languages.
An example of its use
is included by way of a debug() function that returns the message it a bit friendlier format.
Nick Halstead's Blog: Programming Tips #9 "debug_backtrace" - Read More...