Ensure flow control commands don't remove internal breakpoints set by real breakpoints
[hiphop-php.git] / hphp / doc / debugger.cmds
blobf3a9d017ef676589b1743e32d0de06cca31363c0
2     -------------------------- Session Commands --------------------------
4     [m]achine            connects to an HPHPi server
5     [t]hread             switches between different threads
6     [q]uit               quits debugger
8     ------------------------ Program Flow Control ------------------------
10     [b]reak              sets/clears/displays breakpoints
11     [e]xception          catches/clears exceptions
12     [r]un                starts over a program
13     <Ctrl-C>             breaks program execution
14     [c]ontinue *         continues program execution
15     [s]tep     *         steps into a function call or an expression
16     [n]ext     *         steps over a function call or a line
17     [o]ut      *         steps out a function call
18     [j]ump               jumps to specified line of code for execution
20     -------------------------- Display Commands --------------------------
22     [p]rint              prints a variable's value
23     [w]here              displays stacktrace
24     [u]p                 goes up by frame(s)
25     [d]own               goes down by frame(s)
26     [f]rame              goes to a frame
27     [v]ariable           lists all local variables
28     [g]lobal             lists all global variables
29     [k]onstant           lists all constants
31     ------------------------ Evaluation Commands ------------------------
33     @                    evaluates one line of PHP code
34     =                    prints right-hand-side's value, assigns to $_
35     ${name}=             assigns a value to left-hand-side
36     [<?]php              starts input of a block of PHP code
37     ?>                   ends and evaluates a block a PHP code
38     [a]bort              aborts input of a block of PHP code
39     [z]end               evaluates the last snippet in Zend PHP
41     ------------------- Documentation and Source Code -------------------
43     [i]nfo               displays documentations and other information
44     [l]ist     *         displays source codes
45     [h]elp               displays this help
46     ?                    displays this help
48     -------------------- Shell and Extended Commands --------------------
50     ! {cmd}              executes a shell command
51     & {cmd}              records and replays macros
52     x {cmd}              extended commands
53     y {cmd}              user extended commands
56 * These commands are replayable by just hitting return.