Commit graph

287 commits

Author SHA1 Message Date
Felipe Pena
f2b8cdc5be - Added finish/f command 2013-11-17 11:59:21 -02:00
Felipe Pena
f51a08b6d6 - Fix conflict 2013-11-17 10:12:10 -02:00
Felipe Pena
4eb20ecfe7 - Drop unneeded parenthesis 2013-11-17 10:10:02 -02:00
krakjoe
ced99e1b1d fix whitepsace in here first 2013-11-17 12:07:01 +00:00
Felipe Pena
dd25fb44fd - Fix conflict 2013-11-17 09:28:14 -02:00
krakjoe
dcead8ea90 add highlight param to file listing 2013-11-17 11:11:09 +00:00
krakjoe
22ae0d51a1 add print exec command to show current execution context instructions
make phpdbg_compile public
2013-11-17 09:30:44 +00:00
krakjoe
434949c5b4 consistency in prompt/list, do not return FAILURE from command handlers 2013-11-16 23:35:11 +00:00
krakjoe
8f4f4f0628 uniform code in print.c 2013-11-16 23:25:33 +00:00
krakjoe
a28ea698b8 cleanup in list ... last time 2013-11-16 23:11:39 +00:00
krakjoe
7bc369399b switches in list.c, be consistent in all command handlers 2013-11-16 22:58:30 +00:00
krakjoe
b424771ce8 stat before setting breakpoints on files
default switch case for command handlers
trace route through handler tree for debugging etc **selected
2013-11-16 22:40:01 +00:00
krakjoe
f0ed181081 get rid of No Expression Provided messages, not required anymore 2013-11-16 21:25:22 +00:00
krakjoe
593e7b28e8 stat execution context and check it is a regular file or symlink 2013-11-16 21:23:14 +00:00
krakjoe
5a0422d8c6 establish relationship between parent and child commands
extend alias help
automatically invoke child commands
2013-11-16 20:57:10 +00:00
krakjoe
80b82cd538 add list class and method commands
update help text to be more specific
2013-11-16 18:53:12 +00:00
krakjoe
7acf88322b fix is_class_method (needs revision)
don't free last (needs revision)
2013-11-16 14:55:53 +00:00
krakjoe
cf58c7cea3 make handlers take phpdbg_param_t 2013-11-16 14:34:49 +00:00
krakjoe
10ec0ee8b1 move phpdbg_param_t to phpdbg.c|h
add string length and type to param_t (made struct instead of union)
typedef enumerated param types
add some error messages when command recieves unsupported values
2013-11-16 13:15:00 +00:00
Felipe Pena
bff5abfd95 - Fixed possible memleak 2013-11-16 10:02:35 -02:00
Felipe Pena
515f7806c5 - Fixed repeat-last-command feature for next and until command 2013-11-16 09:50:25 -02:00
krakjoe
403072e488 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-16 11:12:22 +00:00
krakjoe
19ada893cb add phpdbg_debug function and --enable-phpdbg-debug configure option
added debug statement to do_cmd in preparation for updates
2013-11-16 11:11:47 +00:00
Felipe Pena
25b9a366e4 - Implemented issue #11 (until command) 2013-11-16 08:59:50 -02:00
krakjoe
7a56e9bc84 fix segfault on some implementations of atoi 2013-11-15 20:52:48 +00:00
krakjoe
24c6e3c317 add oplog status to context information on print command 2013-11-15 16:12:27 +00:00
krakjoe
38ed8d89d0 remove additional switch 2013-11-15 15:34:48 +00:00
krakjoe
a3f2137173 ... 2013-11-15 15:26:51 +00:00
krakjoe
b63fd6d261 embed code in .phpdbginit 2013-11-15 14:53:40 +00:00
krakjoe
aeeba85221 implement 5.4 support 2013-11-15 11:19:26 +00:00
krakjoe
76ec5635a4 include conditional breakpoints in out 2013-11-14 23:06:31 +00:00
krakjoe
f2212c05c7 add opline logging and setup including command line option 2013-11-14 21:10:44 +00:00
krakjoe
d948ea62cb correction 2013-11-14 18:51:45 +00:00
krakjoe
cd956373ba help for command line options 2013-11-14 18:50:34 +00:00
krakjoe
1ee3950747 implement init file and command line options 2013-11-14 16:58:50 +00:00
krakjoe
fb1ee0bbf6 ... 2013-11-14 16:17:22 +00:00
krakjoe
e4fefee020 fix stepping 2013-11-14 16:14:20 +00:00
krakjoe
6a3194a47d move listing commands out to their own command list
add TSRMLS_CC in clear_param for consistency
2013-11-14 15:46:06 +00:00
krakjoe
7763b0b383 phpdbg_init from file & command line option (no impl yet) 2013-11-14 14:14:13 +00:00
krakjoe
dcb6906bc4 fix crash when cleaning environment
fix crash when specifying exec on command line
2013-11-14 11:13:21 +00:00
krakjoe
695decf7e1 TSRMLS_CC missing 2013-11-14 07:46:30 +00:00
Felipe Pena
2475207588 - Missing break 2013-11-13 22:30:03 -02:00
Felipe Pena
782615ac1c - Use realpath on PHPDBG_G(exec) 2013-11-13 21:36:02 -02:00
Felipe Pena
4c59ad6e2e - Added parameter parsing functions 2013-11-13 21:13:41 -02:00
Felipe Pena
9840c6ae97 - Unnesting some code 2013-11-13 19:43:54 -02:00
Felipe Pena
b81236d694 - Removed double checking + ws changes 2013-11-13 19:31:33 -02:00
krakjoe
3f927019cb updates for windows 2013-11-13 21:15:45 +00:00
krakjoe
0bc987c9b4 fix clashing 2013-11-13 18:17:06 +00:00
krakjoe
375c90324c ... 2013-11-13 17:39:53 +00:00
krakjoe
188f4d3c51 aliasing commands 2013-11-13 17:35:51 +00:00