mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
trim breaking commands
This commit is contained in:
parent
78e8690dee
commit
fde1e44d62
13 changed files with 346 additions and 386 deletions
|
@ -501,63 +501,48 @@ phpdbg_help_text_t phpdbg_help_text[] = {
|
|||
"types:" CR CR
|
||||
|
||||
" **Target** **Alias** **Purpose**" CR
|
||||
" **file** **F** specify breakpoint by file:line" CR
|
||||
" **lineno** **l** specify breakpoint by line of currently executing file" CR
|
||||
" **func** **f** specify breakpoint by global function name" CR
|
||||
" **method** **m** specify breakpoint by class::method" CR
|
||||
" **address** **a** specify breakpoint by address" CR
|
||||
" **op** **O** specify breakpoint by opcode" CR
|
||||
" **at** **A** specify breakpoint by location and condition" CR
|
||||
" **del** **d** delete breakpoint by breakpoint identifier number" CR CR
|
||||
|
||||
"The syntax of the target argument is dependent on the target type and in the case of address, "
|
||||
"file, func, line and method targets the target keyword or alias is optional and can be omitted." CR CR
|
||||
|
||||
"**Break at** takes two arguments. The first is any valid target as per the file, lineno, func "
|
||||
"and address types. The second is a valid PHP expression which will trigger the break in "
|
||||
"**Break at** takes two arguments. The first is any valid target. The second "
|
||||
"is a valid PHP expression which will trigger the break in "
|
||||
"execution, if evaluated as true in a boolean context at the specified target." CR CR
|
||||
|
||||
"Note that breakpoints can also be disabled and re-enabled by the **set break** command." CR CR
|
||||
|
||||
"**Examples**" CR CR
|
||||
" $P break file test.php:100" CR
|
||||
" $P b F test.php:100" CR
|
||||
" $P break test.php:100" CR
|
||||
" $P b test.php:100" CR
|
||||
" Break execution at line 100 of test.php" CR CR
|
||||
|
||||
" $P break lineno 200" CR
|
||||
" $P b l 200" CR
|
||||
" $P break 200" CR
|
||||
" $P b 200" CR
|
||||
" Break execution at line 200 of the currently PHP script file" CR CR
|
||||
|
||||
" $P break func \\\\mynamespace\\\\my_function" CR
|
||||
" $P b f \\\\mynamespace\\\\my_function" CR
|
||||
" $P break \\\\mynamespace\\\\my_function" CR
|
||||
" $P b \\\\mynamespace\\\\my_function" CR
|
||||
" Break execution on entry to \\\\mynamespace\\\\my_function" CR CR
|
||||
|
||||
" $P break method classX::method" CR
|
||||
" $P b m classX::method" CR
|
||||
" $P break classX::method" CR
|
||||
" $P b classX::method" CR
|
||||
" Break execution on entry to classX::method" CR CR
|
||||
|
||||
" $P break address 0x7ff68f570e08" CR
|
||||
" $P b a 0x7ff68f570e08" CR
|
||||
" $P break 0x7ff68f570e08" CR
|
||||
" $P b 0x7ff68f570e08" CR
|
||||
" Break at the opline at the address 0x7ff68f570e08" CR CR
|
||||
|
||||
" $P break address my_function#14" CR
|
||||
" $P b a my_function#14" CR
|
||||
" $P break my_function#14" CR
|
||||
" $P b my_function#14" CR
|
||||
" Break at the opline #14 of the function my_function" CR CR
|
||||
|
||||
" $P break address \\\\my\\\\class::method#2" CR
|
||||
" $P b a \\\\my\\\\class::method#2" CR
|
||||
" $P break \\\\my\\\\class::method#2" CR
|
||||
" $P b \\\\my\\\\class::method#2" CR
|
||||
" Break at the opline #2 of the method \\\\my\\\\class::method" CR CR
|
||||
|
||||
" $P break address test.php#3" CR
|
||||
" $P b a test.php#3" CR
|
||||
" Break at the opline #3 of test.php" CR CR
|
||||
" $P break address test.php:3" CR
|
||||
" $P b a test.php:3" CR
|
||||
" Break at the 3rd opline in test.php" CR CR
|
||||
|
||||
" $P break if $cnt > 10" CR
|
||||
" $P b if $cnt > 10" CR
|
||||
|
@ -569,8 +554,8 @@ phpdbg_help_text_t phpdbg_help_text[] = {
|
|||
" $P break at test.php:20 if !isset($x)" CR
|
||||
" Break at every opcode on line 20 of test.php when the condition evaluates to true" CR CR
|
||||
|
||||
" $P break op ZEND_ADD" CR
|
||||
" $P b o ZEND_ADD" CR
|
||||
" $P break ZEND_ADD" CR
|
||||
" $P b ZEND_ADD" CR
|
||||
" Break on any occurence of the opcode ZEND_ADD" CR CR
|
||||
|
||||
" $P break del 2" CR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue