On Sat, Jan 29, 2005 at 06:31:49PM -0800, Brion Vibber wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Edward Peschko wrote: | What do people use for a command-line IDE in debugging mediawiki, aside | from dbg (http:/dd.cron.ru/dbg)
Mostly I just try to stick in a stack trace at fatal errors (as a general rule, using wfDebugDieBacktrace()) and occasionally slip in a temporary var_dump to see additional variable state. Crude, yes.
| I've just about given up on the command line debugger there - and was wondering | whether php has any plans on integrating one into the php-suite, as perl does..
Zend (the developer of PHP) sells a proprietary, commercial IDE with an integrated debugger. Honestly I doubt they're interested in cutting into that market by integrating debugging tools into the open-source PHP core. They've so far kept bytecode caching out of the standard PHP distribution as well.
bleah.
The wfDebugDieBacktrace() call would work well if you knew the codebase already, what I was looking for was using the debugger as a teaching tool, to see how the code was structured, and step through what it does.
And I *hate* graphical debugging environments. Do you know if Zend, dbg, or any other IDE provides a cli interface?
I've tried php-dev, but they are noticably silent on the whole issue...
Ed