Page 1 of 1
A php debugger that allows me to...
Posted: Thu Oct 27, 2005 4:56 am
by hairyjim
Is there a debugger that allows me to have my website open in a browser and debug as I surf through my site?
The problem i have is inside some code on a shoping cart, I need to login and add items to the cart.
What I need to be able to do is to go through this process of adding items to the cart and set break points in the code and then be able to step into, over and so on.
I have tried the Zend IDE and just could not figure it out at all....
Help with finding something useful would be most appreciated.
Jim
Re: A php debugger that allows me to...
Posted: Thu Oct 27, 2005 6:19 am
by foobar
hairyjim wrote:Is there a debugger that allows me to have my website open in a browser and debug as I surf through my site?
The problem i have is inside some code on a shoping cart, I need to login and add items to the cart.
What I need to be able to do is to go through this process of adding items to the cart and set break points in the code and then be able to step into, over and so on.
I have tried the Zend IDE and just could not figure it out at all....
Help with finding something useful would be most appreciated.
Jim
Use
error_reporting().
Posted: Thu Oct 27, 2005 6:27 am
by hairyjim
It is not errors I am trying to track down I am trying to debug some functions.
I need to see what variables are set and what values they are assigned.
Posted: Thu Oct 27, 2005 6:31 am
by redmonkey
You should be able to do it with Zend Studio without too much hassle but it does require a version that supports remote debugging.
There is also
xdebug which I use for this purpose.
Posted: Thu Oct 27, 2005 7:32 am
by Grim...
Posted: Thu Oct 27, 2005 7:46 am
by hairyjim
No no no no....
I got the nusphere one working and to my delight I can step in, over and out of functions. Look at variable values, check array assignments and so...almost a dream come true.
Thanks for replies.
Jim
Posted: Thu Oct 27, 2005 10:52 am
by onion2k
redmonkey wrote:There is also
xdebug which I use for this purpose.
Not seen that before .. the profiler is going to be incredibly useful .. thanks for the link.