Gubed PHP Debugger Documentation

Linus McCabe

0.2.2

Abstract

Gubed PHP Debugger is a visual debugger for PHP. It supports stepping through code, breakpoints and watches amongst other thing. This is the documentation for Gubed, aimed for both end users and developers.


Table of Contents

1. Introduction
The Server Scripts
The Client
The Proxy
The web server
The browser
A debug session
2. Installation
Server installation
Configuration
Client installation
Linux installation
Windows installation
Proxy installation
3. Debugging
The Gubed testbench
Debugging your own script
Firefox extension
4. Client Reference
The Program menu
The Control menu
The Get menu
The Watch menu
The Breakpoint menu
Th Bookmark menu
The Log menu
The Help menu
5. Technical details
Theory of operation
Client/Script communication
Protocol/Client.to.Script
breakpoint
die
getvariable
getwatch
havesource
next
pause
processphp
reinitialize
removebreakpoint
run
sendactiveline
sendallvariables
sendbacktrace
sendprotocolversion
sendsource
sentwatches
setdisplaydelay
seterrormask
setvariable
skip
stepout
stepover
trace
wait
Protocol/Script.to.Client
backtrace
commandme
conditionalbreak
end
error
forcebreak
getrunmode
initialize
parsefailed
parsetime
processouput
protocolversion
sendbreakpoints
sentwatches
setactiveline
showcondition
source
status
variable
watch
A. Change log
B. Gubed License