Before you debug your scripts, you can set breakpoints in them to specify places in your code where the debugging process will pause.
These procedures demonstrate how to set line and conditional PHP breakpoints.
|
|
|
To set a breakpoint in your script: Double-click the vertical ruler to the left of the line where you want to set the breakpoint -or- select the line and go to Run | Toggle Breakpoint or press Ctrl+Shift+B. |
A blue ball will appear, indicating that a breakpoint has been set.
Set Breakpoint |
|
|
|
To add a condition to a breakpoint:
Breakpoint Properties Selection The PHP Conditional Breakpoint dialog opens.
PHP Conditional Breakpoint Properties
|
The condition will be set for the breakpoint and the debugging process will pause only if the condition is met. The breakpoint will be represented by a blue ball with a question mark.
Conditional Breakpoint |
|
|
|
Related Links: |
|
|
©1999-2013 Zend Technologies LTD. All rights reserved.