简体   繁体   中英

Debugging between different pages with xDebug in Netbeans

I'm using Netbeans 7.4, PHP 5.4.13, php_xdebug-2.2.1-5.4-vc9 and I'm debugging with Firefox 24

So debugging works just fine, I don't have any problems with debugging a specific file, be it index.php or search.php or whatever.

My problem is, suppose that I'm debugging index.php , and on that page, there is a link to search.php . I click on that link, the debug session in Netbeans still goes on, except that the browser doesn't. So if I have breakpoints in search.php , it won't stop there.

So again, what I want is, that whenever I click a link from page A to page B , I want to be able to continue debugging on page B .

我将xDebug更新到版本2.2.3,显然可以解决我的问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM