A free and open-source book on Zend Framework for beginners


Debug Toolbar

You can resume/suspend program execution with the Debug Toolbar (see figure B.6):

Figure B.6. Debug Toolbar Figure B.6. Debug Toolbar

The Finish Debugger Session of the toolbar allows to stop the debugger. Press this button when you're done with debugging the program. The same effect would have pressing the SHIFT+F5 key combination.

Clicking the Continue button (or pressing F5 key) continues the program execution until the next breakpoint, or until the end of the program, if there are no more breakpoints.

The Step Over toolbar button (or pressing F8 key) moves the current program counter to the next line of the program.

The Step Into toolbar button (or pressing F7 key) moves the current program counter to the next line of the program, and if it is the function entry point, enters the function body. Use this when you want to investigate your code in-depth.

The Step Out toolbar button (CTRL+F7) allows to continue program execution until returning from the current function.

And Run to Cursor (F4) allows to continue program execution until the line of code where you place the cursor. This may be convenient if you want to skip some code block and pause at a certain line of your program.


Top