php - Can you make Netbeans+Xdebug break after a given number of hits? -


So I have an issue with some PHP code, and I'm not a supporter in PHP. However, I found out that Where is the issue from, and now I want to see what happens in walking under Netbeen. So I have to do this with similar results in comparison to 2010 (C # stuff).

My problem is, this issue occurs after 300 years of running, and in 2010, I can break after only 300 hits if I want to.

Otherwise it is going to be a long and boring afternoon of F8 xD

Thank you.

If you have a conditional code in your code, where you want to place a breakpoint, such as:

  if ($ some loop variables> = 300) {"dont notting"; // make this line a breakpoint}   

Did I answer your question, or misunderstood it?

Comments