Commit Graph

92 Commits

Author SHA1 Message Date
Felipe Pena
a0b75a24e5 - Passing input ptr to handlers 2013-11-20 11:28:41 -02:00
krakjoe
71811f1f7f include registered functions in help for register command 2013-11-19 14:28:57 +00:00
krakjoe
b237401167 fix broken repeat command 2013-11-19 14:06:33 +00:00
krakjoe
599047f153 register functions, needs work 2013-11-19 01:18:43 +00:00
krakjoe
407ab7d57e make errors stand out more, don't duplicate output 2013-11-18 23:41:57 +00:00
krakjoe
7b65a29471 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-18 22:04:36 +00:00
krakjoe
a582d2793d fix memory errors 2013-11-18 21:59:42 +00:00
Felipe Pena
8951406678 - Fix valgrind reports + CS 2013-11-18 19:55:29 -02:00
krakjoe
9190e783a2 no more allocing params 2013-11-18 18:05:37 +00:00
krakjoe
75bc53d7de avoid leaks from parameters 2013-11-18 17:51:14 +00:00
krakjoe
9b7b7c4a39 don't resize window on windows anymore, not required 2013-11-18 13:29:08 +00:00
krakjoe
775376b362 better way to detect leave/finish 2013-11-18 03:18:37 +00:00
Felipe Pena
7e2a4bcc94 - WS 2013-11-17 23:18:12 -02:00
Felipe Pena
a84ac64585 - WS 2013-11-17 23:08:53 -02:00
Felipe Pena
f72b2d6c7c - Move phpdbg_welcome to phpdbg.c and staticfy it 2013-11-17 23:07:57 -02:00
Joe Watkins
27ae287c49 fix window size on windows
make window as big as possible on windows for readability
2013-11-18 00:23:04 +00:00
Felipe Pena
d054172a33 - Clean up command macros
- Added flag to specify no argument, required argument and optional argument
2013-11-17 19:01:41 -02:00
Felipe Pena
146520f045 - Missing credits 2013-11-17 10:40:51 -02: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
cd8efea14d Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-15 14:24:34 -02:00
Felipe Pena
d13c02bf68 - Fix compiler warning 2013-11-15 14:24:22 -02:00
krakjoe
95f5d779ba arginfo for userland functions 2013-11-15 16:22:20 +00:00
krakjoe
8c67cf30b5 cleanup 2013-11-15 16:17:57 +00:00
krakjoe
057f11c4ca extend userland api phpdbg_break function 2013-11-15 15:54:14 +00:00
krakjoe
aeeba85221 implement 5.4 support 2013-11-15 11:19:26 +00:00
krakjoe
ad73291405 swap welcome/init around 2013-11-14 21:51:55 +00:00
Felipe Pena
0896236a7a - Change comment style 2013-11-14 19:39:59 -02:00
krakjoe
f2212c05c7 add opline logging and setup including command line option 2013-11-14 21:10:44 +00:00
krakjoe
6b864a8b0f fix crash when .phpdbginit quits 2013-11-14 17:03:36 +00:00
krakjoe
1ee3950747 implement init file and command line options 2013-11-14 16:58:50 +00:00
krakjoe
7763b0b383 phpdbg_init from file & command line option (no impl yet) 2013-11-14 14:14:13 +00:00
krakjoe
dc580c685f fix quit not working 2013-11-14 12:21:28 +00:00
krakjoe
801a575c47 fix crash on clean 2013-11-14 11:30:31 +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
6eba5c6664 clear conditional breaks in uapi 2013-11-14 09:18:06 +00:00
Felipe Pena
782615ac1c - Use realpath on PHPDBG_G(exec) 2013-11-13 21:36:02 -02:00
krakjoe
b81005f94b ... 2013-11-13 14:32:36 +00:00
krakjoe
57ae58c9bf support conditional breakpoints 2013-11-13 14:22:01 +00:00
krakjoe
176f995c24 activate globals 2013-11-13 04:04:41 +00:00
krakjoe
a8285e3bbf no more printf 2013-11-12 23:43:49 +00:00
Felipe Pena
27f640d879 - Added phpdbg_notice() and phpdbg_error() 2013-11-12 20:39:39 -02:00
Felipe Pena
bbd523e5cb - Cosmetic 2013-11-12 19:40:15 -02:00
Felipe Pena
fdf26eaa0f - Removed name member to opline breakpoints 2013-11-12 11:07:35 -02:00
krakjoe
4112330bb5 colourfulness 2013-11-12 06:03:37 +00:00
krakjoe
6c317b771e more command line options 2013-11-12 04:53:04 +00:00
krakjoe
d7e09f9564 blurb/version/issues string 2013-11-12 02:04:54 +00:00
krakjoe
c2365d8283 compress globals 2013-11-12 01:51:50 +00:00
krakjoe
749e0cfc36 condense globals
introduce flags
sensible silence and stepping
2013-11-12 01:24:53 +00:00
krakjoe
e0cbd92fa4 break on class methods
don't dtor eval'd retval
more reliable break on methods
2013-11-12 00:27:48 +00:00