diff options
author | krakjoe <joe.watkins@live.co.uk> | 2014-04-13 16:58:45 +0100 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2014-04-13 16:58:45 +0100 |
commit | 774a879e6522501f357e8a68278dc321ab118079 (patch) | |
tree | 70a596309ecb807f50d00eae7eeb1d587bcd8fa4 /phpdbg_help.c | |
parent | 2f54e68ade8c74fb2b1208518a368c377a55df27 (diff) | |
download | php-git-774a879e6522501f357e8a68278dc321ab118079.tar.gz |
tidy help
Diffstat (limited to 'phpdbg_help.c')
-rw-r--r-- | phpdbg_help.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/phpdbg_help.c b/phpdbg_help.c index da86823a6d..365b75c8c9 100644 --- a/phpdbg_help.c +++ b/phpdbg_help.c @@ -926,17 +926,20 @@ phpdbg_help_text_t phpdbg_help_text[] = { "Note when **recursive** watchpoints are removed, watchpoints on all the children are removed too" CR CR "**Examples**" CR CR +" $P watch" CR +" List currently active watchpoints" CR CR + " $P watch $array" CR +" $P w $array" CR " Set watchpoint on $array" CR CR -" $P watch (assuming we just have set a watchpoint on $array)" CR -" $array" CR CR - +" $P watch recursive $obj->" CR " $P w r $obj->" CR " Set recursive watchpoint on $obj->" CR CR +" $P watch delete $obj->a" CR " $P w d $obj->a" CR -" Removed watchpoint $obj->a" CR CR +" Remove watchpoint $obj->a" CR CR "Technical note: If using this feature with a debugger, you will get many segmentation faults, each time when a memory page containing a watched address is hit." CR " You then you can continue, phpdbg will remove the write protection, so that the program can continue." CR |