Answer the question
In order to leave comments, you need to log in
Netbeans, xDebug, php - why does not stop at breakpoints
Website - on a virtual machine (virtual box)
Host system - windows 7
In netbeans, checkpoints stopped working, that is, the program, when executed, does not stop on them, but runs to the end.
But if you go to settings->PHP->debugging->Stop at the first line (enable this option), then it stops at the first line. But it still misses all breakpoints.
And the second question. Where to set up something so that breakpoints work not only in *.php files, but in any others. For example *.tpl?
Answer the question
In order to leave comments, you need to log in
I have the same problem. I found a walkaround rather than a solution: stop debugging on the first line-> put the cursor on the line below the breakpoint-> click jump to cursor. As a result netBeans stops on breakpoint'e.
The same if the cursor is placed on the breakpoint line
There was a similar problem.
Only those breakpoints that were set at the time of the current debugging session worked.
Everything was solved with a netbian update.
Check the paths of the files where you set the breaks and the paths of the files that netbins loads when debugging. For example, I created a project using the C:\ drive, and the debugger took the files of the same name from the Y:\ drive (Z:\ by default on Denver). I deleted the project created on C:\ and recreated it on the virtual Y:\ - it worked.
Faced the same problem with NB 7.3 beta 2 and a virtual host. I'll try to roll back NB, I'll tell you how it ended.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question