Page 1 of 1

Step-through Debugger?

Posted: Wed Aug 16, 2006 8:40 pm
by train
Hello,

I used to use PowerBuilder a lot (its the only programming Ive ever really done) and it had a really handy debugger where you could execute the code and follow along, checking out variables and the values that they held as the code was being run.

I am trying to debug some php and although I know I can print specific variables when I want to know what they hold, it doesnt seem like the best way to do things.

Do any editors have particularly good debugging functionality? I dont expect that they will offer any live peeks into the code, but maybe they will come close? How do you go about running code and seeing what is going on without resorting to print_r or stopping things altogether?

In some cases, I am working on other people's code and it is very complex... I am positive there are a lot of things floating around that I am not even aware of. It would be good to see what is happening.

Like I said, I am new to PHP so this might be a silly question. If so, I apologize. I have looked around and have not seen this mentioned elsewhere besides one question on this board and it was not identical to my question.

Thanks a lot.

Posted: Wed Aug 16, 2006 8:44 pm
by feyd
hmm, particularly good debugging.. none that I've ever seen. There are a couple of editors (or maybe it's just one) that has step-through, and that's Zend Studio that comes to mind.

This subject has likely been talked about in the mega-thread about editors.. Look in General Discussion for it, it's hard to miss.

Posted: Wed Aug 16, 2006 8:57 pm
by train
feyd wrote:hmm, particularly good debugging.. none that I've ever seen. There are a couple of editors (or maybe it's just one) that has step-through, and that's Zend Studio that comes to mind.

This subject has likely been talked about in the mega-thread about editors.. Look in General Discussion for it, it's hard to miss.
Will do. I actually saw that thread and didnt even think about it. The idea of a step-through editor didnt come to mind until I was composing my post. I will download Zend and take a peek. Cool.

Woah... you have to pay for it.

Yikes.

Posted: Wed Aug 16, 2006 10:28 pm
by RobertGonzalez
The good ones don't come free.

PHPEdit has a a step-through debugger I believe. JCX Software has something called VS.php, a PHP plugin for VS Studio, which I believe also has a step-through debugger. And CodeCharge Studio has a debugger, but I am not sure how powerful it is. And I think (but I am so not sure) that tsWebEditor has a debugger as well. And it is free.

Posted: Wed Aug 16, 2006 11:42 pm
by Weirdan
From what I know, weaverslave has a debugger client compatible with Xdebug 2+