468,272 Members | 2,025 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,272 developers. It's quick & easy.

PHPEclipse and remote debugging

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
Jul 17 '05 #1
0 1404

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Paul Dodowa | last post: by
reply views Thread by Joseph S. | last post: by
4 posts views Thread by Robert Miller | last post: by
7 posts views Thread by | last post: by
1 post views Thread by CK | last post: by
2 posts views Thread by Christoph Burschka | last post: by
3 posts views Thread by Rick | last post: by
3 posts views Thread by Yves Gagnon | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.