NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DebugBreak() not triggering Break Point


Joined: 18 Dec 2015
Posts: 14
Reply with quote
Hi,

I recently updated to version 20 (20035) from 19, and DebugBreak() is not triggering the break point unless I start the debugging session from PHPed it self. Once I start the debugging session, then it will trigger the breakpoints until I clear out the cookies. I have used PHPed for many years and this is the first time I'm encountering this issue.

OS: Windows 10
WAMP Server 3

Please advise on how to fix this issue.
View user's profileFind all posts by bloodsaviSend private message


Joined: 18 Dec 2015
Posts: 14
Reply with quote
If it helps, Looks like each request is sending the following cookie:

DBGSESSID=-1; path=/; version=1
View user's profileFind all posts by bloodsaviSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8328
Reply with quote
I don't think cookie is related. This cookie helps driving "debug session" -- meaning if you debugged one page and then clicked url or somehow else navigated to next page on the same domain, it would fire or not fire debug session. DebugBreak() is kind of trigger debugger now. If it failed, the reason can be -- it didn't know how to find the IDE's IP. You can try to set IP in the DebugBreak parameter. For example if it is 1.2.3.4, it can be called like DebugBreak("1@1.2.3.4;d=1"); The IP address is 127.0.0.1 in case of local debugging. Also it is 127.0.0.1 if sever is remote and you're using SSH tunnel straight to the server host.
If you have "debugger.fail_silently" Off in debugger section on the server, you may expect failures logged in the php log stream -- this may be a better way to chase the problem.
In any case - make sure you're running the latest debugger module. Currently it is 11.0.23, see http://www.nusphere.com/news/changes200.htm

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


Joined: 18 Dec 2015
Posts: 14
Reply with quote
Thanks a lot for the response. I'll look into this.
View user's profileFind all posts by bloodsaviSend private message
DebugBreak() not triggering Break Point
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