Running and Analyzing Debugger Results

Once you have launched one of the debug sessions (PHP Script, PHP Web Page or URL), you can control and monitor the debugging process using the views displayed in the debugging process.

 

Controlling the debugging process:

The debug process can be controlled using the various buttons in the Debug view.

  1. The Debug process will automatically stop at each breakpoint.

  2. The various views will display information about the debugging process up to that point only.

  3. You can use the various buttons in the debug view to decide how to continue with the debugging process:

  4. Click the Resume button  to continue the debugging process until the next breakpoint, or until the end of the debugging process.

  5. Click the Terminate button to stop the debugging process.

  6. Click the Step Over button to step over the next method call (without entering it) at the currently executing line of code. The method will still be executed.

  7. Click the Step Return button  to return from a method which has been stepped into. The remainder of the code that was skipped by returning is still executed.

  8. Click the Step Into button to step into the next method call at the currently executing line of code.

  9. Click the Use Step Filters button to change whether step filters should be used in the current Debug View.

  10. Once the debugging process has terminated, you can click the Remove Terminated Launches button to remove any terminated debug sessions from the list.

During the debugging process, various views will provide the following information:

Note:

See 'PHP Debug Perspective' for more on the views that will be displayed during Debugging.

 

 

Related Links

Related Links:

PHP Debug Perspective

Working with the Debugger

Debugging

Debugging a PHP Web Page

Debug Preferences