Commit Graph

173 Commits

Author SHA1 Message Date
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
krakjoe
f6d45107b2 show conditionals 2013-11-13 14:50:13 +00:00
krakjoe
072622e799 don't allow conditionals to be executed by eval()'d code 2013-11-13 14:41:25 +00:00
krakjoe
57ae58c9bf support conditional breakpoints 2013-11-13 14:22:01 +00:00
krakjoe
5e266f34fc non readline fixes 2013-11-13 08:05:26 +00:00
krakjoe
99bbc8e811 method printer 2013-11-13 05:36:01 +00:00
krakjoe
88ad7f9279 more detailed opline 2013-11-13 04:47:07 +00:00
krakjoe
63a0c1ca15 ... 2013-11-13 04:34:02 +00:00
krakjoe
a6d08af06b fix leak from readline 2013-11-13 04:20:39 +00:00
krakjoe
2464629b5c fix 2013-11-13 02:50:00 +00:00
krakjoe
fec3b77a0f ... 2013-11-13 02:48:22 +00:00
krakjoe
0ade5f0d9d fix list length lookup 2013-11-13 02:43:09 +00:00
krakjoe
94e887cf2a ... 2013-11-13 02:39:02 +00:00
krakjoe
68cff82d8b class printer 2013-11-13 01:35:39 +00:00
krakjoe
43c2748dce fix bug in passing correct expression length
add class printer (half done)
2013-11-13 00:36:47 +00:00