NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Failed to start debug session


Joined: 13 Sep 2003
Posts: 1
Reply with quote
I debug the script. Then I'd like to pause debuging and that i see:


DBG

Failed to start debug session

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




I use php 4.3.2 and dbg 2.11.22
In 2.11.5 all was OK. How can i pause the debug session?
View user's profileFind all posts by belantSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7857
Reply with quote
first of all, likely "Pause" is not what you want to do. Suppose you somehow got an endless loop and what to interrupt execution and see where the script is executing. That's how "Pause" works.
Please note, "Pause" is available only after you started a debug session.

I think you likely want to start debug session and be able to execute a script step by step or get it breaked on one of breakpoints etc.
At least, according to error message I see that you was unable to start debug session.

In order to debug scripts you have to install IDE, then run it, then open a script and debug it. If you want to debug scripts running under Apache (either remote or local) your have to install debugger module (php_dbg.dll-4.3.2 or dbg.so-4.3.2 depending on the platform you run),
create a project in phped (file->new project), tune properties such as "root URL" and "remote root directory". Then you'll be able to start debug sessions.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Failed to start debug session
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