Re: first php 5 class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 30, 2008 3:34 PM, Greg Donald <gdonald@xxxxxxxxx> wrote:
> On 1/30/08, Nathan Nobbe <quickshiftin@xxxxxxxxx> wrote:
> > what id like to know, since you seem to know so much about the ruby on
> > rails framework,
> > is, what sort of debugging support is there?  this is a weak spot in
> > php to be sure.  ive
> > tried multiple clients w/ xdebug w/ marginal success at this point.
>
> Rails has support for ruby-debug built-in.
>
> `gem install ruby-debug` to install it.
>
> You would then add 'debugger' or 'breakpoint' into the code in
> question.  When execution hits that point your (development) server
> drops into an IRB session where you would find your entire Rails
> environment at your fingertips.  You can interrogate the get/post data
> or perform a database query.  Whatever you can do in code you can do
> in irb in real-time, zero limitations.
>
> Ruby's IRB itself is a lot of fun even when not debugging:
>
> > irb
> >> 'ruby' > 'php'
> => true
>
> It's like having a shell built directly into the language.

php has an interactive shell; php -a.
therein you have access to anything in the language your
include path, or the local disc.
however, ive never heard of an extension whereby the debugger
drops you into a 'php -a' session.
and btw.  php does have pecl and pear, these are both modular
systems where functional components can be easily installed or
upgraded on any given system, despite the underlying os, with
little effort.

-nathan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux