[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Simple script terminates when I try to debug it.

sNop wrote:
Hi Dave Connerth napsal(a):
Dave,

I have attached the log.

My Debug Configuration is a "PHP Script", not a "PHP Web Page" - so does
the port 9000 issue matter?  When I exit Eclipse, netstat no longer
lists 9000 or 10000 as open, so I would think that is not the problem.

I created a "PHP Web Page" Configuration to see if the debugger would
work for a Web configuration.  For Web configurations, my installation
of Eclipse uses a different PHP executable (the one that is in
Apache/bin instead of the one in my PHP directory).  When I run the Web
configuration, the external browser loads with the script output, but
the debugger does not show the current execution line or halt on a
breakpoint (but the debug session does not immediately terminate as with
the "PHP Script" configuration.

I added phpinfo(), and the XDebug setting are in the phpinfo output(see
listing below).


Did you try set up debug environment in accordance with this doc ? http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pdf

Yes, I have read all 36 pages twice! Hard to believe that the instructions to turn on a debugger in Eclipse could be so complex. I will go through it a third time.


I have used Eclipse's Java debugger since Eclipse 1.0, and have never had any difficulty getting it to work - and no installation is required - it just comes pre-installed as a part of Eclipse's Java support.

I am using the EasyEclipse PHP distribution - I am going to try and install the PHP release from the Eclipse site. Is there a free version of Zend studio? I looked at their site but it was unclear (I did not see a link "Download Free Version", or "Download Community Version" as with MySQL). Perhaps Zend studio would be a good option as well?

Thanks,

Dave Connerth