Debugger

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaymenna78734
Forum Newbie
Posts: 3
Joined: Thu Oct 18, 2007 11:35 pm

Debugger

Post by jaymenna78734 »

Newbie Question:

I am a refugee from a dyeing language. New to PHP. I am lookng for an IDE of sorts. Cost is not really on object.

I would love a step in, step out, break point capable debugger.

Suggestions?
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

The zend ide is a little on the pricey side, but has an excellent debugger. Eclipse PDT (cost: free) is a great IDE, but I haven't really explored its debugging features. I know there are quite a few of us here that use it regularly.
User avatar
Stryks
Forum Regular
Posts: 746
Joined: Wed Jan 14, 2004 5:06 pm

Post by Stryks »

Take a look at phpEd.

Full debug setup and oh so much more.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

I've never seen a skilled PHP programmer need a debugger.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

I've heard good things about Komodo IDE, but I never could make the switch.

PHP error messages are pretty clear, I never really found the need for a debugger. Just turn on E_ALL when developing, then turn it off again when you're live.
jaymenna78734
Forum Newbie
Posts: 3
Joined: Thu Oct 18, 2007 11:35 pm

Thanks All

Post by jaymenna78734 »

Thanks all for the suggestions Ill try them and see.

As for: "I've never seen a skilled PHP programmer need a debugger."

Shoud I forget regression/acceptance testing too?
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Post by Doug G »

eclipse-pdt with xdebug is pretty easy to get going, just download the all-in-one package from the pdt download site. There is a newsgroup if you get stuck. Eclipse is a "large" ide, it will take you a while to get used to it but if you do it works pretty well and has lots of different features you can plug in.

The statement about skilled php programmers not needing a debugger is just plain silly. A good debugger will let a good programmer be far more productive, you can track down bugs in your code in a tenth the time an trying with no debugger. But you probaly know that already since you're looking for a debugger :)
jaymenna78734
Forum Newbie
Posts: 3
Joined: Thu Oct 18, 2007 11:35 pm

Thanks Doug

Post by jaymenna78734 »

It never ceases to amaze me the amount of hours people will spend to support "Free"

If you do a craft get the best tools possible. If you do it every day, dont let cost get in your way.

If I read this right Zend Studio cost $250? If is saves me an hour it pays for itself. If it save me two there is a positive ROI.
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Who needs a debugger when there's always -- var_dump(). Anyway if you are using TDD I'm not sure how useful a debugger is...
Post Reply