Re: Line by line debugger for PHP for command line work.
| From: | Richard Quadling | Date: | Tue, 12 Oct 2010 13:11:15 +0000 |
| Subject: | Re: Line by line debugger for PHP for command line work. | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-30348@lists.php.net to get a copy of this message | ||
On 12 October 2010 14:09, Steven Scott <chowarmaan@gmail.com> wrote:
> XDebug is a common tool, and can link with most IDEs. There is also
> FirePHP plugin if you are using Firefox.
>
> On Tue, Oct 12, 2010 at 8:47 AM, Richard Quadling <rquadling@gmail.com> wrote:
>> Hi.
>>
>> I'm trying to trawl my way through a load of code I've been dumped
>> with. It is a mixture of VERY BIG functions and a load of classes with
>> really bad names. A mess. The code runs on PHP5, but there are some
>> errors in the output which I can't find. No authors are contactable
>> (they no longer work here and I'm not even sure you could say they
>> ever did!).
>>
>> It is for command line use only. So something that can hook into my
>> PHP (I'm using 5.3.4-dev).
>>
>> I need a debugging tool to allow me to step through the code line by
>> line looking at the call stack, globals, locals etc.
>>
>> Regards,
>>
>> Richard.
>>
>> --
>> Richard Quadling
>> Twitter : EE : Zend
>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
Aha. Just getting XDebug in. I see it can talk to a remote debugger
... I've got WinDbg installed ... Going to see if that'll do what I
want.
FirePHP would be no good for command line scripts I'd suspect?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY