i hav开发者_开发问答e a website on my localhost, a quite complicated one with many links is there a program that can debug for example, what happens when i click one link?or i login, etc and show me each function called in each file and everything that's happening with the scripts?
You can use Eclipse + PDT or Netbeans with the PHP plugin and then install a recent version of xdebug. This will allow you to set breakpoints, inspect variables, etc.
If you want to get an overall view of your script/framework you can use the cachegrind files xdebug is able to produce and then use a viewer for those files (e.g. kcachegrind). This will help you understand how many times a function is called, what the most time consuming parts of your application are, etc..
when i click on test debugger it says A time-out occurred when the debug server attempted to connect to the following client hosts/IPs: 192.168.0.33 and 127.0.0.1
精彩评论