Hi all!
I'm trying to get remote debugging working with phpeclipse. I think i've
installed
everything correctly, and the debugger in eclipse starts, but breakpoints
are ignored
and nothing seems to happen :(
Is there some way to simply check if the debug plugin for php is correctly
installed
(can I use dbglistener.exe to check if something happens when a php script
is executed?)
In the PHP Debug log i get a PHPLaunchingPlugin.InternalErrorOccured with
the following
stacktrace:
java.net.SocketException: Software caused connection abort: socket write
error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at
net.sourceforge.phpdt.internal.debug.core.PHPDBGPa cket.sendPacket(PHPDBGPacket.java:40)
at
net.sourceforge.phpdt.internal.debug.core.PHPDBGIn terface.continueExecution(PHPDBGInterface.java:184 )
at
net.sourceforge.phpdt.internal.debug.core.PHPDBGPr oxy$PHPLoop.run(PHPDBGProxy.java:384)
Is there something i can do to fix this? It could be that this is why it
doesn't work.
My files are all on the server, I open them from there with eclipse (so no
local copy's).
Webroot on server is c:/inetpub/wwwroot
Share to this path on client is called Y:\
My debug configuration:
environment > remote debug set to on
working directory set to: Y:\kernel_3\site
remote sourcepath set to c:/inetpub/wwwroot/kernel_3/site
My setup:
client (ip 192.168.1.200)
eclipse 3.0.1
phpeclipse 1.1.3
DbgListener.exe (from dbg-2.11.32-cli-w32 package) is running
server (ip 192.168.1.100)
apache 1.3.29 (installed via nusphere tech platform 3.2)
php 4.3.4
dbg v2.11.32 (shows in php_info(), so it should be installed correctly)
Thanks!
Job Kelderman
Insyde