Fresh PHP news, tutorials, tips and much more

Posts Tagged ‘debug’

Useful in-browser development tools for PHP

Tuesday, May 13th, 2008

Found great article in Sitepoint about php tools for in-browser develop. It describes Xdebug, symphony development toolbar and other great tools.

While debuggers exists, there isn’t much of a tradition for using them in PHP. People have largely come to rely on injecting debugging code directly into the program, for inspecting program scope. The infamous var_dump have served for this purpose and version 4.3.0 of PHP brought us another equally useful function — debug_backtrace.

I think everyone must know how it is important  to debug code.

Post tagged with: , ,

Posted in Advanced, Beginners | No Comments »

9 PHP Debugging Techniques

Wednesday, May 7th, 2008

Adam Charnock on his blog wrote new post how you can debug your PHP applications. In article is shown 9 debugging methods you should use.

Isn’t writing new code great? Wouldn’t the world be a better place if all were ever had to do is write software from scratch, not having to worry about methods of classes past? Unfortunately, we all know that this is not the case. In fact, estimates say that we spend around 80% of our programming time maintaining old code. So for this blog post will be trying to tackle that 80%, and I will see what I can do to make it less painful.

All methods in his articles comes with examples how to use them. In article author shows from basic debugging to advanced debugging tools.

Post tagged with: , , ,

Posted in Advanced, Beginners | No Comments »