[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.php] Re: Very happy with Multi-pages Remote Debugging!

Hi Bodgan,

by disabling the "eclipse internal browser" I meant the SWT-Browser.
Check the Eclipse SWT Site for more info on SWT-Browser. To my
understanding it is a way, to have a Java-SWT-GUI use a natively
installed browser (based on gecko engine like mozilla or firefox).

Anyway - the windows world probably is more easy about this. At least I
would expect it to work out of this. Windows does have its strong
sides.... ;-)

But anyway, I´d say nevermind about that browser stuff. Since you see
the cookies in your external browser (firefox), you should be setup just
fine on the browser side. At least based on my experience.

My best guess is that you cannot connect to the debugger. I suggest you
check the php-error.log as well as the zend-debugger config.

Heres mine:
zend_extension=/home/mhe/Software/ZendDebugger-5.2.3-linux-glibc21-i386/5_2_x_comp/ZendDebugger.so
zend_debugger.allow_hosts=127.0.0.1/32, 192.168.0.0/16
zend_debugger.expose_remotely=always

Be aware, that it depends on your Operating System's network stack,
wether you connect to your local machine through loopback or your
"external" adress. I had some starting issues, as I initially only had
setup the 127.0.0.1 for allow_hosts. Problem was, that indeed I arrived
from a local network adress (192.168.0.0/16), so I had to add this as well.
I think my error-log in eclipse also showed that there was some kind of
problem with connecting to the debugger. Maybe you want to have a look
at that as well.

Hope this somehow helps/inspires.

bye, Michael

Bogdan T wrote:
> Hello Michael,
> 
> 
> 
> I followed this discussion since I have some trouble debugging php scripts. 
> I am able to start debugging session, stopping on the script's first line. 
> Also I managed to step through the script but it seems that my debugger is 
> unable to stop at the breakpoints.
> 
> 
> 
> I have Eclipse with installed on a Windows machine and I have Zend Core(with 
> php 5.2.0) installed on a linux machine. I installed Firefox as you 
> suggested and I started the debug session in an external Firefox instance. I 
> checked the cookies in Firefox and indeed I saw the 2 cookies that you 
> mentioned. However I am still get the debugger to stop at breakpoints.
> 
> 
> 
> Maybe I misunderstood what you meant by disabling the Eclipse's internal 
> browser... I just selected in the preferences menu the web browser as 
> Firefox. I was wondering if you have any idea what might be wrong