Hi John, <div><br></div><div>I was aware of Xdebug , bug did not know that it could debug php where we have</div><div>non browser access. Will definitely give it another try.</div><div><br><br><div class="gmail_quote">On Mon, Oct 17, 2011 at 2:05 PM, Jon Spriggs <span dir="ltr"><<a href="mailto:jon@sprig.gs">jon@sprig.gs</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Kunal,<br>
<br>
You might be interested in an extension for PHP called XDebug. If<br>
you're running Ubuntu, it's just an apt-get away.<br>
<br>
Once you've got XDebug installed, you need something that can walk<br>
through the code - I use Eclipse with it's PHP support, which includes<br>
support for XDebug.<br>
<br>
Try this: <a href="http://www.rdeeson.com/weblog/102/installing-xdebug-for-use-with-eclipse-on-ubuntu-linux.html" target="_blank">http://www.rdeeson.com/weblog/102/installing-xdebug-for-use-with-eclipse-on-ubuntu-linux.html</a><br>
<br>
If you're using XAMPP under Windows, try this:<br>
<a href="http://robsnotebook.com/php_debugger_pdt_xdebug" target="_blank">http://robsnotebook.com/php_debugger_pdt_xdebug</a><br>
<br>
I use this all the time for my personal coding.<br>
<br>
Regards,<br>
<font color="#888888">--<br>
Jon "The Nice Guy" Spriggs<br>
</font><div><div></div><div class="h5"><br>
On 17 October 2011 02:27, kunal ghosh <<a href="mailto:kunal.t2@gmail.com">kunal.t2@gmail.com</a>> wrote:<br>
> Hi Robin,<br>
><br>
>><br>
>> Since I've been having the same problem with debugging, non-browser<br>
>> access,<br>
>> I've finally implemented the thing I promised weeks ago, a simple logging<br>
>> mechanism.<br>
><br>
> The logging tool ( /lib/log.php ) looks good, but my problem is more of,<br>
> when i call external libraries, what's happening there, what's causing the<br>
> external<br>
> library call to fail ?<br>
> I can think of two possible solutions:<br>
> 1. A debugger with Stepping tool (kinda like gdb) but haven't come across<br>
> any.<br>
> 2. Heavily instrument owncloud with debug logs (which allows external app<br>
> authors to<br>
> debug their applications ).<br>
> I think 2 is very do able and I am instrumenting lib/base.php with debug<br>
> logs for my<br>
> debugging needs, it'd be great if the changes go back into owncloud<br>
> mainline.<br>
> We could use these debug messages for debugging reported bugs as well.<br>
> --<br>
> Kunal<br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> Owncloud mailing list<br>
> <a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>regards,<br><br>Kunal Ghosh<br><br><br>
</div>