Help - Search - Members - Calendar
Full Version: PHP debugger
Invision Power Services > Community Forums > Community Technical Chat
Alfrеdo
I'm looking for a decent yet simple to use PHP debugger that allows me to set a breakpoint in a function, navigate my site to a page that calls that function and then view the variables currently stored as well as moving line by line to the next function.

I've already tried Zend Studio, which completely messed up my system by installing other MySQL binaries and changing the location of my socket (which I couldn't change back afterwards). Not only that, but it didn't even seem to work like I wanted to.
So before randomly trying another program, I thought I'd ask for some advice here. The platform doesn't matter, but preferably Linux (although I could set up XP if necessary).

Thanks
Alεx
phpDesigner 2008 has breakpoint capability original.gif Don't know if it works for Linux though.
Alfrеdo
That would work for single files yes, but the script is spread out across some 50 files, with functions, classes, ... all in a separate file. Therefore I need a debugger that lets me navigate to a page in a browser and then view the current state of variables.
Alfrеdo
Anyone who's had a positive experience with a PHP debugger?
Dan C
Not tried it, nor used anything other than an older version of Zend Studio... but Eclipse for PHP might do it. Worth a look i'd say. original.gif
Luke
Here:

http://resources.invisionpower.com/index.p...p;showfile=1625

It's a PHP library I wrote a while back that extends the functionality of the PHP error handler. It will produce a stack trace that steps through each function/class and shows the data types passed through the functions (as well as values if you hover over the data types).

No need to have any special development environment. Just include it in your project anywhere, whether it be in the global scope or inside a class.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.