当前位置: 动力学知识库 > 问答 > 编程问答 >

Yosemite + Netbeans 8.0.2 + XDebug + PHP + Chrome = Looping

问题描述:

When i put a breakpoint in a line on Netbeans 8.0.2 and run the project with Chrome, the execution will stop on this breakpoint, but Chrome keeps requesting the page again and again, so when i hit Continue in Netbeans, the execution will stop in the same breakpoint again.

The 'Network' tab on Chrome Developer Tools show one request per second and while i don't stop the debug in Netbeans, it will request the same page again and again forever ! If this request is about an database insertion, for instance, multiple inserts will be generated.

Does anyone know what is wrong here ? XDebug is useless this way.

Thanks

网友答案:

The problem was in my code, there was a Javascript function looping the requests. Thanks everybody for the hints.

分享给朋友:
您可能感兴趣的文章:
随机阅读: