NAME.
breakpoint
ARGS.
type - either "line", "change" or "true", ie break on a line, changed expression or when expression is true
filename - (conditional/line) for line breakpoints this is the file where the breakpoint should be located/occur, for conditional breakpoints it's an optional filename and halting will only occur if execution is currently in that file
line - (line) what line the breakpoint is at
class - (conditional) only break if the condition is true and in a method of an object of this class (optional)
function - (conditional) only break if the condition is true and in a function name like this (optional)
expression - (conditional) what expression to evaluate, for example ($a == 12)
DESCRIPTION.
breakpoint tells the sctipt to set a breakpoint in the specified file on the specified line, or to add a conditional breakpoint with the specified expression.
The script might reply with a removebreakpoint command in case the breakpoint is not ok
SEE ALSO.
NAME.
die
ARGS.
none
DESCRIPTION.
Tells the script to die. Execution will stop immediately.
SEE ALSO.
NAME.
getvariable
ARGS.
variable - expression to get value of, for example "$t"
DESCRIPTION.
Requests the value/result of an expression
SEE ALSO.
NAME.
havesource
ARGS.
none
DESCRIPTION.
During initialization, the client tells the script what file is to be entered and the client responds with a 'havesource' if it already knows about the source of the file.
SEE ALSO.
NAME.
next
ARGS.
none
DESCRIPTION.
Tells the script to execute the next instruction and proceed to the next one. This command will step into function calls and include files.
SEE ALSO.
NAME.
processphp
ARGS.
command - php commands to process
DESCRIPTION.
Tells the script to execute a few php commands and return the result
SEE ALSO.
NAME.
reinitialize
ARGS.
none
DESCRIPTION.
Tells the script to reinitialize, the client can request this action if it was closed down and reopened during script execution (can happen when the proxy is used) Or if the script tells the client to show a line that it doesent know of (and the source can't be loaded form disk)
SEE ALSO.
NAME.
removebreakpoint
ARGS.
type - either "line", "change" or "true", ie break on a line, changed expression or when expression is true
filename - (conditional/line) for line breakpoints this is the file where the breakpoint should be located/occur, for conditional breakpoints it's an optional filename and halting will only occur if execution is currently in that file
line - (line) what line the breakpoint is at
class - (conditional) only break if the condition is true and in a method of an object of this class (optional)
function - (conditional) only break if the condition is true and in a function name like this (optional)
expression - (conditional) what expression to evaluate, for example ($a == 12)
DESCRIPTION.
Removes a breakpoint
SEE ALSO.
NAME.
run
ARGS.
none
DESCRIPTION.
Tells the script to execute as fast as possible. Watches and current position won't be updated until the script is paused or it enters trace mode.
SEE ALSO.
NAME.
sendactiveline
ARGS.
none
DESCRIPTION.
Tells the script to send the currently active file and line
SEE ALSO.
NAME.
sendbacktrace
ARGS.
none
DESCRIPTION.
Tells the script to send the current backtrace
SEE ALSO.
NAME.
sendprotocolversion
ARGS.
none
DESCRIPTION.
Tells the script to send it's protocol version
SEE ALSO.
NAME.
sendsource
ARGS.
filename - what source is requested
DESCRIPTION.
During initialization, the client tells the script what file is to be entered and the client responds with a 'sendsource' if it wants the script to send the sourcecode of the file.
SEE ALSO.
NAME.
sentwatches
ARGS.
key - some kind of key that needs to be returned. hmm..
DESCRIPTION.
The script confirms that all watches were received
SEE ALSO.
NAME.
setdisplaydelay
ARGS.
DESCRIPTION.
Set the display delay when in trace mode. Note that setting this to zero does not mean trace == run, trace will still be slower due to watch updates and other things.
SEE ALSO.
NAME.
seterrormask
ARGS.
errormask - the type of errors that should halt execution
DESCRIPTION.
Sets the errormask, a combination of * E_WARNING (2) * E_NOTICE (8) * E_USER_ERROR (256) * E_USER_WARNING (512) * E_USER_NOTICE (1024)
Other PHP error types are not handable
SEE ALSO.
error, http://se.php.net/manual/en/ref.errorfunc.php#errorfunc.constants
NAME.
setvariable
ARGS.
variable - varibale to change value of
value - new value
DESCRIPTION.
Tells the script about an expression that needs to be executed. Mainly to set contents of variables.
SEE ALSO.
NAME.
skip
ARGS.
none
DESCRIPTION.
Tells the script to skip the next instruction as if it wasn't there and move on to the next one.
SEE ALSO.
NAME.
stepout
ARGS.
none
DESCRIPTION.
Tells the script to execute the rest of the instructions in the current function or include file and halt again when it reaches the calling/including place.
SEE ALSO.
NAME.
stepover
ARGS.
none
DESCRIPTION.
Tells the script to execute the next instruction and proceed to the next one. This command will not step into function calls and include files.
SEE ALSO.
NAME.
trace
ARGS.
none
DESCRIPTION.
Tells the script to constantly tell the client about the current line of execution and update watches, etc. As if the user was constantly pressing 'next'.
SEE ALSO.