NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debug session stops


Joined: 05 Jul 2005
Posts: 8
Reply with quote
I've a quite complex CMS php site to debug, and I did a project for this.
When the script get the output, the debug session stops.
At this point I should continue my debug keeping in the memory some values (login, password, actual path and so on).

If I try to continue the debug clicking on a link in the output windows, debug mode doesn't start.

If I try to continue the debug changing the main file in the project, debugs starts, but it hangs because the needed above values are erased from memory.

the checkbox "stop at the first line" has no effect after debug session stops.

Some simple suggestions?
View user's profileFind all posts by deadSend private message


Joined: 05 Jul 2005
Posts: 8
Reply with quote
I solved with this:
Code:

 if (function_exists ("DebugBreak")) {
    global $DBGSESSID;
    $DBGSESSID = "1@clienthost:7869";
    DebugBreak ();
  }


tnx anyway
View user's profileFind all posts by deadSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
with DBG 2.18.5 and higher you can call DebugBreak ('1@clienthost:7869'); or even omit clienthost:7869 at all, they are the defaults.
So if you use port 7869 and do not use SSH tunnel, just call DebugBreak () without arguments, nothing else is required.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Debug session stops
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