-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Edward Peschko wrote: | On Sat, Jan 29, 2005 at 06:31:49PM -0800, Brion Vibber wrote: |>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. |> | 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.
Well, that's a rather different question; you asked what we use for debugging.
| 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...
Basically, the world of debugging PHP is a really crappy world, which can barely support life.
- -- brion vibber (brion @ pobox.com)