At various stages of our coding, we will need to make sure that certain parts of our application are working correctly before we can move on to another part. Before we turn our application over to business partners and clients, we will need to test the application as a whole. As bugs are found, we will need to find where the application is breaking in order to fix them. PHPEclipse offers tools to help us do this.
Debugging is the process of identifying what is happening to an application at a certain point. We find where the data and variables went bad and adjust our application to correct this. You probably have done debugging with PHP’s echo()
or print()
functions. By displaying variable values out to the web browser, we can check variable values at certain points of execution in the program. Up to a certain point, this is an effective approach. However, it’s fairly limiting in flexibility and most of all, it is time-consuming...