Wednesday, December 07, 2005

Debugging PHP

Alright... now that the day job's project death march is over (3rd time is a charm), I can get back to working on this php project. It is certainly a lot more interesting.

I am finding debugging a bit difficult. I'm resorting to print statements a lot. Most of my problems tonight are from not knowing the associate array sub-fields. Since it is a dynamic language, the functions I'm calling can return different sub arrays depending on the circumstances. And if my code is accessing a field that doesn't exist, then it just keeps on going. No error message.

I'm thinking I've got to download the trial version of Zend Studio and see how debugging goes with their product.

Oh well. Just a bit more and then off to bed. At least as long as I still have to also work the day job.


Post a Comment

<< Home