NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG 2.15 and PhpED


Joined: 15 Nov 2007
Posts: 2
Reply with quote
i have two machines for my development.
linux box with local ip: 10.10.48.122 variant: debian
windows box with local ip: 10.10.48.126 variant:xp


i wanted to debug code on my linux box from windows box. i have managed to install DBG extension in php.
php.ini setting
-------------------
[local edits]
debugger.enabled = true
debugger.profiler_enabled = true
debugger.JIT_host = clienthost
debugger.JIT_port = 7869

DBG info as shown in phpinfo():
-----------------------------------
Version 2.15.5
Linked as a shared library.
Profiler compiled, enabled

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


Project settings in PhpED
----------------------------
i have now set up the following properties for the project.
project name: project 2
root directory: \\10.10.48.122\apps\eclipse-web\projects\myprojects
source control: none
run mode: HTTP mode (3rd party WEB server)
root url: http://myserver/
Remote root dir: /home/apps/projects/myprojects/
all other settings are left empty as it is

now when i submit the project properties, it reports the following




Error Details:
---------------
DBG
Failed to start debug session

reason:
client host address [clienthost;d=1,p=0,c=1] lookup failed



Please let me know if you know what the problem is? Thank you.
View user's profileFind all posts by raghavan20Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
You can't use dbg 2.15 with PhpED.
What you need is dbg 3.2.7 that comes with PhpED 5.2.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 15 Nov 2007
Posts: 2
Reply with quote
yes, that solved the problem. many thanks to you.
View user's profileFind all posts by raghavan20Send private message
DBG 2.15 and PhpED
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