[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Debugging Facebook Applications using Eclipse

Have you tried turning on Remote Session Initiation for the XDebug debugger for PDT ? See
http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pdf
for more information.


I suggest using firefox and the xdebug firefox plugin to manage the XDebug cookie that needs to be set in order for xdebug on the server to active and allow debugging.

You will need to have source code available to you within PDT as well of course otherwise you will be told that no suitable source will be located.

If you are going to activate the cookie yourself you can do this by appending to the URL
?XDEBUG_SESSION_START=ECLIPSE_DBGP
you don't need the KEY value. This was used to get around IE 6 caching which stopped you seeing changes to your php script. May not be a problem in later versions of IE.


Dave Kelsey


On 10/09/09 18:08, Drawn wrote:
NetBeans can debug a FBML Facebook App and Eclipse can't?!

Say it isn't so!

Below is a helpful article in setting up an means to 'debug' a Facebook
Application:

FB Series: Locally debug your PHP Facebook App
- Published: July 10, 2009
http://www.uebersoftware.com/2009/07/fb-series-locally-debug-your-php-facebook-app/


The author has been able to successfully issue breakpoints and debug a Facebook application using NetBeans 6.7.1.

He couldn't get it to work with Eclipse! Booooooo!!!

Regrettably, I too have failed. Boooooo!!!

My project is huge and so, when opening it in NetBeans, NetBeans is
still running its "Scanning Projects" process, and it will be running
for hours!

Essentially, making that IDE worthless to me!

Nope, Eclipse is my IDE, and I want to debug my Facebook application
(Note: It uses FBML and not iFrame)!

Someone, please step up and get this to work for us!

Cheers.