Warning: You're looking at a styleless page because your browser is ignoring CSS styles. You're probably using a very old browser, or you disabled CSS support by purpose. We suggest you to download a modern browser such as Firefox or Internet Explorer.
The following Commands are available on both the Debug Menu and the Debug Toolbar.
Run (F9)
:
Begins a debug session. If a session is already initiated, this command acts as Continue, below.
Run with Parameters (Shift+F9)
:
Begins a debug session, filling the $_GET superglobal array with user specified parameters. If a session is already initiated, this command has no effect.
Pause :
The Pause item can not be selected, it merely shows the state of execution. When paused, the Pause item will be colored. When stopped or executing, it will be grayed out.
Continue
:
Continues a paused debug session. Execution will continue to the next breakpoint or error encountered.
Stop
:
Terminates debug session and execution of script.
Step In (F7)
:
Executes the current line of code and pauses at the next line. If the current line is a user defined function or method call, the cursor will be advanced to the first line of the function or method and execution will pause there.
Step Over (F8)
:
Executes the current line of code and pauses at the next line of the current scope. The cursor will not be moved to the scope of the function. The exception is if the debugger encounters an error or breakpoint, in which case the cursor will be moved to the scope of the error or breakpoint and execution will pause.
Step Out (F4)
:
Executes the current line of code and attempts to execute each line of code necessary to escape from the current code block (function, method, or logic block). Execution will pause when encountering a breakpoint or error, or when the current code block has been escaped from. If used from the main() code block, it functions as Continue.
Step Over (F8)
:
Executes from the current position and pauses on the line containing the cursor. If the debugger encounters an error or breakpoint the cursor will move to the line containing the error or breakpoint and execution will pause.
The following Commands are available only on the Debug Menu.
Start Listener
:
Starts the dbg Listener.
Stop Listener
:
Stops the dbg Listner. Debugging will not be available while dbg Listener is stopped.