Commit graph

82 commits

Author SHA1 Message Date
krakjoe
6bb080a7e1 made server persist, support disconnect and reconnect 2013-11-28 09:31:06 +00:00
krakjoe
87b556e3a1 simple tcp interface for phpdbg 2013-11-27 16:49:51 +00:00
krakjoe
3df8e29b0d many improvements in breakpoints
make file breakpoints faster
make exports happen in correct order
make deletes simpler, set flags correctly
fix info vars when no scope is set
2013-11-26 22:20:52 +00:00
Bob Weinand
6ba73338dd Enormous whitespace fix 2013-11-26 11:02:58 +01:00
krakjoe
bc7df607ab fix windows build
build shared on windows
2013-11-26 07:53:08 +00:00
Felipe Pena
d50e2546c7 - Added command "set breakpoint <on|off>" 2013-11-25 19:39:17 -02:00
Bob Weinand
4aab420c5f .phpdbginit also possible in ini dirs 2013-11-25 13:19:01 +01:00
krakjoe
ddcfa42f15 get good control over colors and prompt 2013-11-24 19:34:18 +00:00
Felipe Pena
8589c0af91 - Initial work on setting color to prompt 2013-11-24 15:00:30 -02:00
Felipe Pena
795e12b85e - Added "set prompt" command 2013-11-24 12:54:14 -02:00
Bob Weinand
2b5c929153 Add breakpoint deleting 2013-11-24 12:58:08 +01:00
Felipe Pena
70d4ac8ef3 - Moved catch cmd to "break op" cmd 2013-11-23 21:14:16 -02:00
Felipe Pena
a86d52d81d Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-23 20:03:31 -02:00
Felipe Pena
f5c07f61e1 - Added catch command 2013-11-23 20:03:17 -02:00
krakjoe
9712387fc9 update version after release 2013-11-23 18:41:10 +00:00
krakjoe
e7fa292493 change version for release 2013-11-23 18:40:28 +00:00
krakjoe
1c6e54ecdf support shared build on unix 2013-11-23 17:56:16 +00:00
krakjoe
e662fd9eb0 merge frame/trace commands from bwoebi
tidy up
add help for frame command
fix help made incorrect by additions
2013-11-22 19:06:31 +00:00
Bob Weinand
c46a413697 Merge branch 'master' of https://github.com/krakjoe/phpdbg into frames
Conflicts:
	phpdbg.h
	phpdbg_prompt.c
2013-11-22 18:32:00 +01:00
Bob Weinand
5b51fb40e9 Added frames and beautified backtrace 2013-11-22 18:27:55 +01:00
krakjoe
022eb18d1d ... 2013-11-22 16:15:24 +00:00
krakjoe
a6bd3807c4 better handling of sigint
info literals command
2013-11-22 09:09:54 +00:00
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