Fix load-elim bug for branching instructions going to the same block
[hiphop-php.git] / hphp / doc / debugger.cmds
blob03708c58417bc96b45c5120923a66a6f902f2824
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
19     -------------------------- Display Commands --------------------------
21     [p]rint              prints a variable's value
22     [w]here              displays stacktrace
23     [u]p                 goes up by frame(s)
24     [d]own               goes down by frame(s)
25     [f]rame              goes to a frame
26     [v]ariable           lists all local variables
27     [g]lobal             lists all global variables
28     [k]onstant           lists all constants
30     ------------------------ Evaluation Commands ------------------------
32     @                    evaluates one line of PHP code
33     =                    prints right-hand-side's truncated value, assigns to $_
34     ${name}=             assigns a value to left-hand-side
35     [<?]php              starts input of a block of PHP code
36     ?>                   ends and evaluates a block a PHP code
37     [a]bort              aborts input of a block of PHP code
38     [z]end               evaluates the last snippet in PHP5
40     ------------------- Documentation and Source Code -------------------
42     [i]nfo               displays documentations and other information
43     [l]ist     *         displays source codes
44     [h]elp               displays this help
45     ?                    displays this help
47     -------------------- Shell and Extended Commands --------------------
49     ! {cmd}              executes a shell command
50     & {cmd}              records and replays macros
51     x {cmd}              extended commands
54 * These commands are replayable by just hitting return.