Bob Weinand
8bc2881260
Merge branch 'master' into xml-protocol
...
Conflicts:
phpdbg.c
phpdbg.h
phpdbg_cmd.c
phpdbg_cmd.h
phpdbg_frame.c
phpdbg_info.c
phpdbg_list.c
phpdbg_print.c
phpdbg_prompt.c
phpdbg_utils.c
phpdbg_utils.h
phpdbg_watch.c
2014-10-07 13:08:30 +02:00
Bob Weinand
fb76316819
Add request_id possibility for xml output
2014-10-06 11:26:08 +02:00
Bob Weinand
19cdad194b
Add transfer of output back to webserver and merge master in
...
Conflicts:
config.m4
phpdbg.c
phpdbg.h
phpdbg_cmd.c
phpdbg_prompt.c
2014-10-04 23:21:34 +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
67787d7b6d
Merge branch 'master' into xml-protocol
...
Conflicts:
phpdbg_utils.c
2014-09-25 01:22:33 +02:00
Bob Weinand
2bd1a74690
Always add a newline before a warning or a notice
2014-09-25 00:55:17 +02:00
Bob Weinand
bbeccd7474
First draft of an xml protocol
2014-09-21 04:17:19 +02:00
Bob Weinand
554b30389e
Fix segfaults, reorder files and set filename to exec
2014-09-10 16:03:26 +02:00
Bob Weinand
c35bb34608
Add webhelper extension and support for loading extensions
...
New phpdbg commands:
dl [path] - loads module / Zend extension
wait - waits for incoming connection from a phpdbg_webhelper module
Webhelper module is a UNIX domain socket to which a SAPI with the phpdbg_webhelper module loaded will write to the socket information about its whole environment.
phpdbg can then run the request locally [TODO: write the request back to the sender]
2014-09-10 16:03:26 +02:00
Bob Weinand
219beac36b
Fix readline/libedit (Thanks to @remicollet)
2014-06-29 11:26:03 +02:00
Bob Weinand
4c79fe6afa
Updated parser & leer to be usable with re2c
...
Fixes some weird temporary compilation errors too
2014-06-08 20:34:30 +00:00
krakjoe
e9668d4ce8
buffer input to repeat commands
2014-04-21 21:43:19 +01:00
Bob Weinand
577c6ed0ce
Fixed stepping
2014-04-20 20:20:59 +02:00
Bob Weinand
422dc49c0d
Merge branch 'master' of https://github.com/krakjoe/phpdbg
...
Conflicts:
phpdbg_help.c
phpdbg_prompt.c
2014-04-20 19:55:44 +02:00
krakjoe
f96feea00c
step by line and opcode modes preserved, set stepping added, help updated
2014-04-20 18:46:35 +01:00
Bob Weinand
5a7497904e
Breakpoints now hit only once if line was not switched
2014-04-20 13:25:28 +02:00
Bob Weinand
b1a22ae6dc
Updated version number to 0.4.0
...
Made run accept any input and lexer re2c compatible
2014-04-16 13:56:26 +02:00
Bob Weinand
9b05f5d132
Made refcount info switchable by set refcount on/off. Default: off
2014-04-14 19:37:31 +02: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
Bob Weinand
7b0219212d
Fixed possible segmentation fault upon unset with watchpoints
2014-03-22 09:39:39 -04:00
Bob Weinand
f887960f9b
removed some weird crash when freeing to early
2014-03-16 22:37:33 +01:00
Bob Weinand
3fcdd6ab0f
Added WINDOWS support for watchpoints
...
Actually it mainly works by just a bit macro substitution and function
redeclarations.
So it leaves the code working on UNIX mostly untouched.
I needed to substitute the allocating functions by a Virtual*() functions
wrapper to use VirtualProtect() on the memory.
2014-03-16 19:39:02 +01:00
krakjoe
28debb4717
...
2014-02-21 18:52:06 +00:00
krakjoe
e392e730ea
execute new stack now
2014-02-18 19:48:33 +00:00
krakjoe
1c0fccfc9a
fix readline build error bugsnet #66576
2014-01-27 07:39:34 +00:00
Bob Weinand
f4a7e50156
Update year
2014-01-17 23:09:07 +01:00
krakjoe
c645e5043e
patch version
2014-01-13 08:19:37 +00: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
78e274af31
Added rudimentary support for watchpoints on an array itself
2014-01-10 13:54:07 -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
6f63609251
Fixed credits in phpdbg.* files
2013-12-23 23:55:07 +01:00
Bob Weinand
f06ac6a531
Bumped version number to 0.3.0
2013-12-20 14:03:51 +01:00
Bob Weinand
9ce9f48fb6
Moved btree to separate file; minor fixes and completitions
2013-12-15 09:05:50 -05:00
Bob Weinand
f312f6bad2
First semi-working version of a single watchpoint
2013-12-14 05:39:09 -05:00
Bob Weinand
85b97c0f70
Finished working for today, continuing tomorrow (not working)
2013-12-13 17:57:36 -05:00
Bob Weinand
488dd317fe
First non-working test of segfault handlers
2013-12-11 21:27:03 +01:00
krakjoe
af979393fc
resolve all warnings
2013-12-09 10:15:16 +00:00
Bob Weinand
2555fbfc4e
Renumbered phpdbg.h correctly
2013-12-07 16:03:01 +01:00
Bob Weinand
50db4919ce
Adapted opline_num breakpoints to master branch
2013-12-07 15:35:35 +01:00
Bob Weinand
518519b8ed
Separated opline address improvements from this branch
2013-12-01 19:05:30 +01:00
Bob Weinand
25f2d4eca1
Several fixes and cleanups on opline num support
2013-12-01 15:58:59 +01:00
krakjoe
723b721fb9
update version
2013-12-01 10:23:37 +00:00
krakjoe
083cce9162
tag correct version
2013-12-01 10:22:41 +00:00
krakjoe
2c216ec648
update version
2013-12-01 08:40:31 +00:00
krakjoe
7e528a36b6
tag v2.0
2013-12-01 08:38:33 +00:00
Bob Weinand
d7f6e88493
First semi-working version of oplines
2013-11-28 21:36:45 +01:00
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