Best Open Source Debugging / RAD tool for PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
mottwsc
Forum Commoner
Posts: 55
Joined: Sun Dec 23, 2007 8:01 pm

Best Open Source Debugging / RAD tool for PHP

Post by mottwsc »

Moved to General Discussion by moderator.

What is the best open source debugging / RAD tool for PHP? And why is it considered the best - ease of use, features, etc. I realize that these may represent two different categories, but I'm hoping one tool does both well...

Thanks!
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Best Open Source Debugging / RAD tool for PHP

Post by alex.barylski »

xdebug is open source although I have never used it...I find print_r() and debug_backtrace() more than sufficient.

Eclipse is open source and is popular...I use UltraEdit with about a dozen little tool scripts I have developed over the years to speed up refactoring, debugging, etc.

UltraEdit isn't free but it's cheap at 50USD or so...it's pocket change for the solid editor you get.
mottwsc
Forum Commoner
Posts: 55
Joined: Sun Dec 23, 2007 8:01 pm

Re: Best Open Source Debugging / RAD tool for PHP

Post by mottwsc »

I looked into several of these, including UltraEdit. There's also UEStudio, an IDE that builds on UltraEdit. It appears, though, that you can only do C/C++ interactive debugging with it - not PHP. Does anyone know if this is correct?

I also am looking into NuSphere PHPEd, an IDE with an interactive PHP debugger. Does anyone have any experience/thoughts on this product?

Thanks.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Best Open Source Debugging / RAD tool for PHP

Post by alex.barylski »

Interactive debugging would be nice and certainly speed up development somewhat...but honestly...I dunno I've got by for years with manually entering in exit statement when I want to test tup to a certain point.

Zend studio is probably your best bet in this regard...I should give it a try.

EDIT | Seem Zend IDE is based on Eclipse... :x

Cheers,
Alex
mottwsc
Forum Commoner
Posts: 55
Joined: Sun Dec 23, 2007 8:01 pm

Re: Best Open Source Debugging / RAD tool for PHP

Post by mottwsc »

OK - thanks for the insight.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Best Open Source Debugging / RAD tool for PHP

Post by josh »

PCSpectra wrote:Interactive debugging would be nice and certainly speed up development somewhat...but honestly...I dunno I've got by for years with manually entering in exit statement when I want to test tup to a certain point.
That's what xdebug is usually used for ( when combined with zend studio or nusphere phped ). IMO just because the old way works doesn't mean it makes sense. My ancestors got by without electricity, that doesn't make it practical ;-) The problem I find with manual debugging is you won't always guess which data to print, interactive debugging allows you to immerse yourself in the code, you can see everything that's going on, move forwards and backwards, in and out of the stack, change variables, execute arbitrary code at arbitrary points, set breakpoints, etc...

Of course print_r and exit() "works", but when I tried GUI debugging I experienced a "flow" that boosted my productivity in ways I did not predict. It's worth trying out, give it some time if you do...
User avatar
Stryks
Forum Regular
Posts: 746
Joined: Wed Jan 14, 2004 5:06 pm

Re: Best Open Source Debugging / RAD tool for PHP

Post by Stryks »

Nusphere PHPEd is a decent product for a reasonable price. The built in debugger is really quite good and it has all the assorted features that can help you along.

I was doing some contract work and they provided it on the system I was using. I was a plain text editor coder up until that point apart from a few months of Zend Studio in another workplace, but I really liked it. I've been using it myself for over a year now and find that it is the most productive tool for me. Zend studio would have been my first choice, but I'm just not a fan of eclipse. Eclipse just feels awkward and clunky to me. I open it up and it just feels restrictive and unresponsive. Having said that, Zend Studio has some truly excellent features that cant be found elsewhere. But then having said that, I cant say that I *really* miss them.

Anyhow, PHPEd is well worth a look. A lot of the extra functionality is pretty thin, but the editor itself is pretty solid.

Just in case you become a NuSphere convert like I was, avoid their Nucoder product unless you have a great host that you wont want to relocate from AND that will let you run the required PHP extension.

Cheers
mottwsc
Forum Commoner
Posts: 55
Joined: Sun Dec 23, 2007 8:01 pm

Re: Best Open Source Debugging / RAD tool for PHP

Post by mottwsc »

Thanks to all...
Post Reply