NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG and PHP Coder Problem


Joined: 24 Sep 2004
Posts: 3
Reply with quote
i have a problem to make DBG Debugger and PHP Coder work..
i'm using IIS with PHP Version 4.3.9.
i followed the installation instructions of the DBG and i got this message when i run <? phpinfo(); ?>:
"DBG php debugger, version 2.11.30, Copyright 2001, 2004, Dmitri Dmitrienko, www.nusphere.com"
i registered PHPDbgPS.dll successfully.
i installed the PHP Coder and it asks me to integrate it with the DBG and i accepted.
i opened the DBG listener and it started successfully
when i opened the PHP Coder the listener wrote "Listener is started"
i set the settings of the PHP Coder so it use the webserver and i set the parameters of the PHP Interpreter and the Server settings.

When i'm trying to run any php file include a breakpoint the PHP coder load it in its browser without debugging.

i don't know if i i need to do something or i missed something

Thank u
View user's profileFind all posts by ehabhassanSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8335
Reply with quote
try to debug <? phpinfo(); ?> and make sure DBGSESSID is specified and is of correct syntax.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 24 Sep 2004
Posts: 3
Reply with quote
i made a new project in the PHP Coder which contains a file includes the <? phpinfo(); ?> code.
i pressed the run button and it viewed it in the browser without debugging.
by the way i do not know the DBGSESSID and how to be sure that it is specified and is of correct syntax
View user's profileFind all posts by ehabhassanSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8335
Reply with quote
http://forum.nusphere.com/faq-what-is-dbgsessid-syntax-t586.html
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 24 Sep 2004
Posts: 3
Reply with quote
i tried it and it works..

Thank you
View user's profileFind all posts by ehabhassanSend private message
same problem - but this solution didnt work for me...


Joined: 01 Oct 2004
Posts: 1
Reply with quote
using PhpED IDE Version 3.3 (Build 3332) php version 4.3.4.4

I tried to add the following line to php.ini:
DBGSESSID=1@clienthost:7869;d=1

now the debugger conf in php.ini look like this:
[debugger]
debugger.enabled=On
debugger.profiler_enabled=On
DBGSESSID=1@clienthost:7869;d=1

but it's still didnt work...

can you help me?
View user's profileFind all posts by eliyahooSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8335
Reply with quote
nothing said you have to add this line to php.ini...
You may add it to URL. But while you work with phped you don't need to do it because PHPED does it for you whenever you click Run In Debugger.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
DBG and PHP Coder Problem
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