NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Please help. timeout errors on Debug


Joined: 09 Jan 2005
Posts: 3
Reply with quote
I have read the FAQ carefully and timeout tutorial in this forum, but I can't solve the problem

Windows XP Professional
Apache 2.0.52/PHP 5.0.2
DocumentRoot "F:/WWW" in Apache server configure file htpd.conf

PHPEd ver3.3 evl and pack #3 for PhpED 3.3 , so PHP debugger supports 5.0.2

Launch phpinfo results, I make sure that one of the topmost headers contains: Zend Engine v2.0.2, Copyright (c) 1998-2004 Zend Technologies with DBG v2.16.12, (C) 2000,2004, by Dmitri Dmitrienko
In the DBG section, DBG php debugger's version is 2.16.12.

IDE Run Mode: HTTP Mode (3rd Party Web Server)

Debugger Settings:
Debugger port: 7869
Debugger host: auto set host

Project Properties:
Project Root Directory: F:\WWW\test
Mapping run mode: HTTP mode (3rd party WEB Server)
Mapping Root URL: http://localhost/
Mapping Remote Root Directory: F:\WWW\test

PHP.INI significant settings (per PHPEd Manual Help):
extension_dir = "c:\Apache\php\ext"
extension=php_dbg.dll (this is in the c:\Apache\php\ext)
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debgugger.hosts_allow=localhost, 127.0.0.1
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

Files on my system for this project are located in f:\www\test\

When I run in the debugger(F9), I get the timeout error, "Failed to start debugger session(timeout) Please verify if debugger module is installed on the server that corresponds to "http://localhost/aa.php" URL. Also make sure that server is up and running. "

I check the PHP DBG Listener log windows, it show
" failed to set "Windows936" codepage
127.0.0.1 client connected
127.0.0.1 client disconnected

I check the PHP DBG Listener About. It shows version 2.16.3

It's different from version 2.16.12 show in phpinfo()

What I should do next? Please help

Thanks,
Joseph
View user's profileFind all posts by suntech99Send private message
Why


Joined: 09 Jan 2005
Posts: 3
Reply with quote
open a browser window, type an URL like this
http://localhost/aa.php?DBGSESSID=1;d=1
It seens work:
a) shown in browser: "Hello World" . it's correct.
b) shown in dbglistner log : 127.0.0.1 client connected
127.0.0.1 client disconnect
c) shown in phped log: debug session /aa.php(I=1) started
debug session finished

it's very strange. WHY
View user's profileFind all posts by suntech99Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
install phped 3.3.3 again.
It comes with DbgListener 2.16.12
View user's profileFind all posts by dmitriSend private messageVisit poster's website
It's still the same


Joined: 09 Jan 2005
Posts: 3
Reply with quote
Thank you for relay so quickly.
I already install phped 3.3.3 again. Now the DbgListener is 2.16.12

But In IDE, When I try to run in debugger(F9), I get the same error

"Failed to start debugger session(timeout) " What should I do next?
View user's profileFind all posts by suntech99Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
proceed with these steps
http://forum.nusphere.com/howto-install-debugger-module-t576.html
http://forum.nusphere.com/tip-troubleshooting-debugger-communications-t579.html
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Please help. timeout errors on Debug
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