Commit graph

60 commits

Author SHA1 Message Date
Felipe Pena
ed16d3b608 - Initial code for signal handling 2013-11-20 16:52:34 -02:00
krakjoe
004249cec9 fix bug, allow init access to vm uninterrupted 2013-11-20 17:09:06 +00:00
krakjoe
fdddde0d03 step through eval option 2013-11-20 17:01:37 +00:00
krakjoe
6d0991bad6 ... 2013-11-20 16:52:14 +00:00
krakjoe
311c22277d fix stepping into code from command line 2013-11-20 16:50:12 +00:00
krakjoe
d906613eb5 tidy up reading input, avoid leaks, restore sanity 2013-11-19 12:39:48 +00:00
krakjoe
599047f153 register functions, needs work 2013-11-19 01:18:43 +00:00
krakjoe
a582d2793d fix memory errors 2013-11-18 21:59:42 +00: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
775376b362 better way to detect leave/finish 2013-11-18 03:18:37 +00:00
krakjoe
8ada4342a4 don't be lazy, scan for ZEND_RETURN when setting seek opline 2013-11-18 02:14:17 +00:00
krakjoe
07c0dc00cb fixup until/leave/finish 2013-11-18 01:44:46 +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
478446b665 - Added macro for trailling command 2013-11-17 14:10:43 -02:00
krakjoe
2ba9e9306f leave function + help 2013-11-17 15:39:23 +00:00
Felipe Pena
146520f045 - Missing credits 2013-11-17 10:40:51 -02: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
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
1cbc914406 - Back to development 2013-11-15 18:21:36 -02:00
Felipe Pena
d83c7c27d2 - Preparing for first release 2013-11-15 18:10:04 -02:00
krakjoe
f2212c05c7 add opline logging and setup including command line option 2013-11-14 21:10:44 +00:00
krakjoe
1107ccef99 fix for calculator hardware :) 2013-11-14 13:48: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
453194d0ac change defaults for windows 2013-11-13 22:18:20 +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
5204026308 housework 2013-11-12 23:54:41 +00:00
Felipe Pena
27f640d879 - Added phpdbg_notice() and phpdbg_error() 2013-11-12 20:39:39 -02:00
krakjoe
6b3b14e8dd ... 2013-11-12 16:13:14 +00:00
krakjoe
c43d5a558f ... 2013-11-12 16:04:41 +00:00
krakjoe
6cc7a5784e windows 2013-11-12 12:10:53 +00:00
krakjoe
4112330bb5 colourfulness 2013-11-12 06:03:37 +00:00
krakjoe
33f0502f19 readline support #6 2013-11-12 04:20:14 +00:00
krakjoe
d7e09f9564 blurb/version/issues string 2013-11-12 02:04:54 +00:00
krakjoe
fa3056c833 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 01:58:39 +00:00
krakjoe
c2365d8283 compress globals 2013-11-12 01:51:50 +00:00
Felipe Pena
8ec5d30097 - Added PHPDBG_BP_MASK macro 2013-11-11 23:41:14 -02: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
krakjoe
67dc98732e break on opline 2013-11-11 11:54:41 +00:00
krakjoe
4f5096af3c register server vars 2013-11-10 23:30:52 +00:00
krakjoe
587003ee48 exec last command automatically on enter 2013-11-10 21:49:37 +00:00
krakjoe
9ba19e8224 quiet 2013-11-10 21:23:18 +00:00
Felipe Pena
eaf5d89292 - Change breakpoint id to int 2013-11-10 18:10:54 -02:00
Felipe Pena
1fcc54a6b8 - Added breakpoint counter 2013-11-10 17:15:32 -02:00
Felipe Pena
defc4c3180 - Added separated file to handle breakpoint feature 2013-11-10 16:06:41 -02:00
Felipe Pena
22f0ff6c12 - Fix conflict 2013-11-10 15:51:20 -02:00
Felipe Pena
16930d85f8 - Initial code for breakpoint on function 2013-11-10 15:49:25 -02:00