1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 05:02:27 +02:00
Commit Graph

52 Commits

Author SHA1 Message Date
Bob Weinand
323e59adfc Added support for a restricted ev (variables only) in async safe contexts 2014-10-03 12:43:32 +02:00
Bob Weinand
8af0870d72 Made some functions async safe and provide interactive shell in signal handler
Fixes also (as a side-effect) a possible bug in list function when included files become unreachable after loading by caching the file contents
This is already pretty stable; a (restricted) ev and sh may follow.
2014-10-03 01:29:41 +02:00
Bob Weinand
b183494f37 Send a \x03 during execution to interrupt (POSIX only) 2014-09-28 02:57:12 +02:00
Bob Weinand
3d48c7e5ec Fix issue #89 — Compile failure in PHP 5.4
zend_hash_get_current_key_zval_ex isn't defined in PHP 5.4. (used in phpdbg_watch.c)
2014-06-11 23:35:12 +03:00
krakjoe
42355fb9bf Merge branch 'master' of https://github.com/krakjoe/phpdbg into watchpoints_recursive
Conflicts:
	config.m4
	phpdbg.c
	phpdbg_prompt.c
2014-04-13 11:07:38 +01:00
Bob Weinand
c86ba551ac Merge branch 'master' into watchpoints_recursive
Conflicts:
	phpdbg.c
	phpdbg_utils.c
	phpdbg_utils.h
2014-03-23 23:32:13 +01:00
krakjoe
4b738cee2b set colors working 2014-02-23 07:33:48 +00:00
Terry Ellison
88bd558a73 Work in progress chekpoint of changes to help module. To allow peer review and feedback 2014-02-02 16:35:28 +00:00
Bob Weinand
f4a7e50156 Update year 2014-01-17 23:09:07 +01:00
Bob Weinand
66e93a7820 Merge branch 'master' of ssh://github.com/krakjoe/phpdbg into watchpoints_recursive
Conflicts:
	phpdbg.c
2014-01-12 20:40:54 -05:00
Bob Weinand
c64d692f49 Merge branch 'master' into watchpoints
Conflicts:
	CREDITS
	phpdbg.c
	test.php
2013-12-31 12:07:10 -05:00
Bob Weinand
5e351695b6 Added deleting of watchpoints 2013-12-19 11:05:38 -05:00
Bob Weinand
94d5334bca Added myself as author where I was not author yet 2013-12-18 11:02:50 +01:00
Felipe Pena
50e8a47c90 - Added argument name to backtrace dump 2013-12-08 17:37:35 -02:00
Felipe Pena
6e85e711de - Fix compiler warning 2013-12-07 12:17:29 -02:00
krakjoe
df0091c445 phpdbg_rlog for logging while in remote mode (only) 2013-11-30 14:34:16 +00:00
Bob Weinand
6ba73338dd Enormous whitespace fix 2013-11-26 11:02:58 +01:00
krakjoe
beea71bd25 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-24 20:16:55 +00:00
krakjoe
5596b2e716 example colour output 2013-11-24 20:16:46 +00:00
Felipe Pena
d21e7f5aa0 - CS 2013-11-24 18:14:33 -02:00
krakjoe
ddcfa42f15 get good control over colors and prompt 2013-11-24 19:34:18 +00:00
krakjoe
c85f247eac make api function and format structure for color management 2013-11-24 17:50:22 +00:00
Felipe Pena
19a923de46 - Keep the color 2013-11-24 13:49:30 -02:00
Felipe Pena
795e12b85e - Added "set prompt" command 2013-11-24 12:54:14 -02:00
Felipe Pena
f4f6c8f517 - Added gcc attribute to check formatting parameters 2013-11-23 21:58:32 -02:00
krakjoe
022eb18d1d ... 2013-11-22 16:15:24 +00:00
Felipe Pena
3853f5b370 - Added phpdbg_trim() 2013-11-19 19:26:40 -02: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
44d27200f6 - Fix compiler warning 2013-11-16 09:34:23 -02: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
krakjoe
aeeba85221 implement 5.4 support 2013-11-15 11:19:26 +00:00
krakjoe
f2212c05c7 add opline logging and setup including command line option 2013-11-14 21:10:44 +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
Felipe Pena
0eea7e4504 - Cosmetic changes 2013-11-13 22:29:44 -02:00
Felipe Pena
b91a5053f8 - Cosmetics 2013-11-13 22:16:41 -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
krakjoe
3f927019cb updates for windows 2013-11-13 21:15:45 +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
43c2748dce fix bug in passing correct expression length
add class printer (half done)
2013-11-13 00:36:47 +00:00
krakjoe
5204026308 housework 2013-11-12 23:54:41 +00:00
krakjoe
ce78503e15 remove more printf 2013-11-12 23:31:46 +00:00
krakjoe
afa216fd7e deploy _write 2013-11-12 23:17:37 +00:00
krakjoe
a712674964 added phpdbg_write to replace all the printf 2013-11-12 23:10:53 +00:00
Felipe Pena
ff54d20b58 - Fix prototype and memory leak 2013-11-12 20:55:39 -02:00
Felipe Pena
27f640d879 - Added phpdbg_notice() and phpdbg_error() 2013-11-12 20:39:39 -02:00
Felipe Pena
5a3285ae99 - Cosmetic change 2013-11-12 11:44:36 -02:00
Felipe Pena
af90b6d5c7 - Improved breakpoint code 2013-11-12 11:33:51 -02:00
Felipe Pena
ffad3fa211 - Implemented "break N" where N is the line number on the current file 2013-11-12 10:58:19 -02:00