NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG and PHPEclipse - Not debugging


Joined: 22 Sep 2005
Posts: 4
Reply with quote
I've successfully installed DBG.dll for PHP as my phpinfo() shows this:

PHP Version 4.3.9

System Windows NT ROB 5.1 build 2600
Build Date Sep 21 2004 14:03:10
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with DBG v2.11.32, (C) 2000,2005, by Dmitri Dmitrienko

And my php.ini has this:

[debugger]
extension=php_dbg.dll
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

I've also set up PHPEclipse to use DBG Client (from http://www.php-debugger.com/), but in PHPEclipse it doesn't stop at breakpoints.

Sometimes I get this error when going to files directly when PHPEclipse is even closed (so it's not just a PHPEclipse problem I think):

DBG

Failed to start debug session

reason:
failed to establish connection to client host on 127.0.0.1:10001

Sometimes I get this one when running debug mode from PHPEclipse:

Status: 404
Content-type: text/html
X-Powered-By: PHP/4.3.9

No input file specified.

I'm really at the end of my rope here. Any thoughts?
View user's profileFind all posts by rbarrecaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
reason:
failed to establish connection to client host on 127.0.0.1:10001

I'm not expert in PHPECLIPSE yet. Please check if IDE uses port TCP/10001 and server may connect to the IDE on this port.
See debugger troubleshooting in the General FAQ forum.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
DBG and PHPEclipse - Not debugging
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic