Debugger rarely hits breakpoints!~
6 posts
• Page 1 of 1
Debugger rarely hits breakpoints!~
Sorry this has been driving me insane the last few days. I bought the extension and setup xdebug but debugging is really patchy and I can rarely if ever hit breakpoints in really basic php pages associated with wordpress.
I'm loading the project in as a php proj and just running using f5 but stuff like the lines pictured below will NEVER get hit.
Anyone else experiencing this and have any tips on how to get this more reliable as at the moment I'm resorting to var_dump everything which is horrible
I'm loading the project in as a php proj and just running using f5 but stuff like the lines pictured below will NEVER get hit.
Anyone else experiencing this and have any tips on how to get this more reliable as at the moment I'm resorting to var_dump everything which is horrible
- thomen
- Posts: 3
- Joined: October 19th, 2014, 3:28 am
Re: Debugger rarely hits breakpoints!~
Hi thomen,
Thanks for your post. I personally never experienced that. I know that there are few cases when xdebug might get confused, but they should be quite rare.
Could you please send the picture of the code again? I'm not able to see it, probably the upload has failed.
Does debugging work at all for you? If you create a new php web project and put breakpoint in the index.php, does it get hit?
Thanks!
Thanks for your post. I personally never experienced that. I know that there are few cases when xdebug might get confused, but they should be quite rare.
Could you please send the picture of the code again? I'm not able to see it, probably the upload has failed.
Does debugging work at all for you? If you create a new php web project and put breakpoint in the index.php, does it get hit?
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debugger rarely hits breakpoints!~
I also had this problem for a while...
I have updated my xdebug to the newest VC-Build available, and the problem was gone.
Some Expressions/Variable data caused the problem, a break point it was working until a specified line, after this line, a break point was not working.
maybe you have the same problem...
I have updated my xdebug to the newest VC-Build available, and the problem was gone.
Some Expressions/Variable data caused the problem, a break point it was working until a specified line, after this line, a break point was not working.
maybe you have the same problem...
- Post11
- Posts: 10
- Joined: September 22nd, 2014, 2:00 pm
Re: Debugger rarely hits breakpoints!~
Hi,
It would be interesting to know which line might cause this strange behavior. Do you know what xdebug version you've had before?
I know there was an one big issue with Xdebug 2.2.4, which was fixed in 2.2.5. But I'm not sure if it's related.
It would be interesting to know which line might cause this strange behavior. Do you know what xdebug version you've had before?
I know there was an one big issue with Xdebug 2.2.4, which was fixed in 2.2.5. But I'm not sure if it's related.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debugger rarely hits breakpoints!~
I has updated my server from 2.2.3.1_vc9 to 2.2.5.0_vc9. It is working now for month.
- Post11
- Posts: 10
- Joined: September 22nd, 2014, 2:00 pm
Re: Debugger rarely hits breakpoints!~
There were many fixes between those two versions. I'm glad it solved it for you.
Thanks!
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 42 guests