[ phpeclipse-Bugs-1238192 ] DBG Debugger does not work on Mac OS X 10.4

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1238192, was opened at 2005-07-14 15:08
Message generated for change (Comment added) made by robekras
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1238192&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Debugger
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Robert Kraske (robekras)
Summary: DBG Debugger does not work on Mac OS X 10.4

Initial Comment:
I installed the DBG-debugger v. 2.11.32 on Mac OS X
Tiger (10.4.1), Eclipse version Version: 3.0.2, Build
id: 200503110845 according to the manual provided on
http://dd.cron.ru/dbg/installation.php

Installation was a bit hairy, but finaly I got the
following result from phpinfo():

This program makes use of the Zend Scripting Language
Engine:
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend
Technologies
with eAccelerator v0.9.3, Copyright (c) 2004-2004
eAccelerator, by eAccelerator with DBG v2.11.32, (C)
2000,2005, by Dmitri Dmitrienko

and 

DBG php debugger, version 2.11.32, Copyright 2001,
2005, Dmitri Dmitrienko, www.nusphere.com

Version 	2.11.32
Linked 	as a shared library.
Profiler 	not compiled

Directive	Local Value	Master Value
debugger.enable_session_cookie	On	On
debugger.enabled	On	On
debugger.fail_silently	On	On
debugger.ignore_nops	Off	Off
debugger.JIT_enabled	Off	Off
debugger.JIT_host	clienthost	clienthost
debugger.JIT_level	3	3
debugger.JIT_port	7869	7869
debugger.profiler_enabled	On	On
debugger.session_nocache	On	On
debugger.timeout_seconds	300	300

So I guess, dbg should work (can't check with the
CLI-client, because this could not be compiled on my
system).

Nevertheless, PHPEclipse fails to connect to the
debugger and returns a broken-pipe-error as follows:

PHPLaunchingPlugin.internalErrorOccurred

java.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at
java.net.SocketOutputStream.write(SocketOutputStream.java:124)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGPacket.sendPacket(PHPDBGPacket.java:40)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGInterface.continueExecution(PHPDBGInterface.java:184)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGProxy$PHPLoop.run(PHPDBGProxy.java:422)

PHPLaunchingPlugin.internalErrorOccurred

ava.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at
java.net.SocketOutputStream.write(SocketOutputStream.java:124)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGPacket.sendPacket(PHPDBGPacket.java:40)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGInterface.setBreakpoint(PHPDBGInterface.java:155)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGInterface.addBreakpoint(PHPDBGInterface.java:62)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGProxy.addBreakpoint(PHPDBGProxy.java:188)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGProxy.setBreakPoints(PHPDBGProxy.java:146)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGProxy$PHPLoop.run(PHPDBGProxy.java:421)

PHPLaunchingPlugin.internalErrorOccurred

java.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at
java.net.SocketOutputStream.write(SocketOutputStream.java:124)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGPacket.sendPacket(PHPDBGPacket.java:51)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGInterface.setBreakpoint(PHPDBGInterface.java:155)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGInterface.addBreakpoint(PHPDBGInterface.java:62)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGProxy.addBreakpoint(PHPDBGProxy.java:188)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGProxy.setBreakPoints(PHPDBGProxy.java:146)
	at
net.sourceforge.phpdt.internal.debug.core.PHPDBGProxy$PHPLoop.run(PHPDBGProxy.java:421)


----------------------------------------------------------------------

>Comment By: Robert Kraske (robekras)
Date: 2006-08-29 14:10

Message:
Logged In: YES 
user_id=356703

Please test again with PHPeclipse 1.1.8 on eclipse 3.1.2
or with a new PHPeclipse snapshot (newer then of 2006-08-29)
in combination of eclipse 3.2.

----------------------------------------------------------------------

Comment By: Michael Huettemann (dynamike2000)
Date: 2006-04-21 08:03

Message:
Logged In: YES 
user_id=591629

You mention Eclipse version 3.0.2: which PHPeclipse version
are you using? With Eclipse 3.0.x it must be PHPeclipse
1.1.5 or earlier. PHPeclipse 1.1.8 requires Eclipse 3.1 or
later.

----------------------------------------------------------------------

Comment By: Steven Grimm (koreth)
Date: 2006-04-21 00:38

Message:
Logged In: YES 
user_id=59197

The PHPEclipse debugger install docs (on the Wiki) mention
that you have to disable eAccelerator -- have you tried that?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1238192&group_id=57621

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.