Posted February 17th, 2010 by Andy-Price
Hi
Firstly, let me say that VS.PHP is a fantastic project!
However, I've just upgraded to version 2.8 and I can no longer debug where any included files are involved.
For included files, any breakpoints display 'The breakpoint will not currently be hit. Unbound breakpoint'. Even for the trivial case as follows, setting a breakpoint on the phpinfo() statement has no effect:
Test1.php:-
<?php
require 'test2.php';
?>Test2.php:-
<?php
phpinfo();
?>It doesn't make any difference whether I use built-in or external mode, still no breakpoints. I'm using XDebug. I've tried downloading the latest Xdebug binaries, but still no difference.
I would be really grateful for your support on this, otherwise I'm going to have to go back to Version 2.7 which debugged flawlessly.
Best regards
Andy
juanc says:
Please try the latest build here:
http://svn.jcxsoftware.com
Andy-Price says:
Thanks for the response, but no, sorry, still the same. Breakpoints work in the starting source file, but not in included files.
Sorry, I can't spend any more time on this, so I will have to revert to Version 2.7. I'll keep an eye on the forums for a solution to V2.8's debugging problems.
Best regards
Andy
Andy-Price says:
Hmm... Seems like I was too hasty.
I downgraded to version 2.7 but still had the same symptoms. Couldn't believe it! In trying to get v2.8 working earlier, I had tried various version of XDebug ending on the latest 2.1.0 beta2, and with this version of XDebug, VS.PHP v2.7 also exhibited the symptoms in this thread.
So, I've upgraded to VS.PHP 2.8.1.6173 latest build as you suggested in your reply. With xDebug 2.1.0beta2, still the same trouble. With XDebug 2.0.5-5.2, VS.PHP debugger crashes completely after resuming from first breakpoint. With XDebug 2.0.3-5.2.5, everything works! These are all 5.2 VC6 versions of XDebug.
Anyway, for me, problem solved, but there seems to be still an issue to sort out with XDebug version compatibility.
All the best
Andy