Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Debugging Facebook Applications using Eclipse(NetBeans can debug a FBML Facebook App and Eclipse can't?!)
icon5.gif  Debugging Facebook Applications using Eclipse [message #485171] Thu, 10 September 2009 17:08 Go to next message
Drawn  is currently offline Drawn Friend
Messages: 3
Registered: September 2009
Junior Member
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.

Re: Debugging Facebook Applications using Eclipse [message #485294 is a reply to message #485171] Fri, 11 September 2009 08:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotremovemail.com

Have you tried turning on Remote Session Initiation for the XDebug
debugger for PDT ? See
http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pd f
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.
>
>
icon14.gif  Re: Debugging Facebook Applications using Eclipse [message #485491 is a reply to message #485294] Sat, 12 September 2009 02:30 Go to previous messageGo to next message
Drawn  is currently offline Drawn Friend
Messages: 3
Registered: September 2009
Junior Member
Thanks, Dave!

I knew the Eclipse community would show me the way!

I upgraded to Eclipse 3.5, enabled the remote session option, and now I'm debugging my Facebook app!

Beauty!

Re: Debugging Facebook Applications using Eclipse [message #485564 is a reply to message #485491] Sun, 13 September 2009 18:07 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Drawn wrote:
> Thanks, Dave!
>
> I knew the Eclipse community would show me the way!
>
> I upgraded to Eclipse 3.5, enabled the remote session option, and now
> I'm debugging my Facebook app!

Very cool, maybe you should blog about this :)

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
Previous Topic:Eclipse wants location of Firefox executable
Next Topic:How to "Run As"?
Goto Forum:
  


Current Time: Thu Apr 25 13:35:29 GMT 2024

Powered by FUDForum. Page generated in 0.03007 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top