Forum Moderators: coopster

Message Too Old, No Replies

What do you use for debugging?

write your own or off the shelf (xdebug?)

         

lampip

5:55 pm on Dec 7, 2005 (gmt 0)

10+ Year Member



I would like to get a stack trace or function call list... when an error occurs in a php script. what are most of you doing? Writing your own debugging or using things like xdebug (which i couldn't get working)?

And if you write your own is there a way to get the filename and line number?

Also, are people using try/catch statements? Coming from C++/java that is what i am used to, just curious as to what people are doing with php and any tips you might have.

thanks,
peter

LeChuck

6:27 pm on Dec 7, 2005 (gmt 0)

10+ Year Member



I do all my php development in Zend Studio. It's got excellent integrated debugging.

jezzer300

6:17 pm on Dec 15, 2005 (gmt 0)

10+ Year Member



See this for try catch...

[uk.php.net...]