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
2bd1a74690
Always add a newline before a warning or a notice
2014-09-25 00:55:17 +02:00
Bob Weinand
e0e990229d
Use full duplex stdin/stdout socket
2014-09-15 09:58:14 +02:00
Bob Weinand
05c73757ed
Fix bug #111 (compile error without ZEND_SIGNALS)
2014-09-14 12:24:56 +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
Felipe Pena
82f0b934a9
- CS
2014-06-29 09:57:57 -03:00
Bob Weinand
79519f7e30
Fix possible segfault depending on memory location...
2014-06-04 02:15:34 +02:00
Bob Weinand
467b19a948
Fixed startup segfault in non-debug builds
...
Fixes issue #87
2014-06-03 21:03:42 +00:00
Bob Weinand
bcf85252e2
Added stdion/stdout/stderr constsnts and their php:// wrappers
...
Fixes issue #85
2014-05-01 11:38:08 +02:00
krakjoe
e9668d4ce8
buffer input to repeat commands
2014-04-21 21:43:19 +01:00
krakjoe
0873f2bfb4
remove -e option in favour of taking script from argv[]
2014-04-21 21:24:41 +01:00
krakjoe
fd74024a49
remove compile command
2014-04-19 21:22:09 +01:00
krakjoe
89868dd4d9
Merge branch 'master' of https://github.com/krakjoe/phpdbg
2014-04-19 21:09:10 +01:00
krakjoe
11c707d836
auto compile when execution context set
2014-04-19 21:08:54 +01:00
Bob Weinand
7ab1c07a51
Fixed bug: ev output was buffered instead of directly displayed
2014-04-16 11:40:29 +02:00
Bob Weinand
8c22352e88
Added $this and superglobals support for watchpoints
2014-04-14 15:47:36 +02:00
krakjoe
ce7097fb60
less strange!
2014-04-13 14:43:34 +01: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
krakjoe
8c23b038cd
fix moar
2014-04-13 08:43:19 +01:00
krakjoe
4387723ef7
fix argc/argv
2014-04-13 08:34:16 +01:00
krakjoe
ef86b57f3b
Merge branch 'master' of https://github.com/krakjoe/phpdbg into lexer
...
Conflicts:
phpdbg_prompt.c
2014-04-13 08:06:42 +01:00
Bob Weinand
3db29ee439
Added support for command line arg passing
...
"phpdbg -- arg" in shell
"run arg" in phpdbg prompt
2014-04-13 00:27:46 +02: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
f887960f9b
removed some weird crash when freeing to early
2014-03-16 22:37:33 +01:00
Bob Weinand
98025a40b8
Cleanup
2014-03-16 20:04:08 +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
623888adc0
use php streams to handle line endings better for #81
2014-02-27 19:10:59 +00:00
krakjoe
fde1e44d62
trim breaking commands
2014-02-21 16:18:46 +00:00
krakjoe
996182993d
remove input_t
...
support single char aliases
...
2014-02-19 08:33:54 +00:00
krakjoe
791828d00c
fix zpp issues #74
2014-02-18 08:47:15 +00:00
Bob Weinand
7b44890ac4
Merge pull request #73 from TerryE/new-help
...
New help updates
2014-02-16 17:09:15 +01:00
Bob Weinand
b0273e749c
Fix issue 68 (made check win only)
2014-02-06 20:43:17 +01:00
Terry Ellison
ebdfef807a
Update help content and refactor new routine in php_help.c
...
* I've added more content to the help to expand desciption for new-to-phpdbg
developers.
* After a code review of the new routines that I've added to the help module,
I've decided that the implementation was unnecessarily convolved and that
Keep-It-Simple-Stupid would be more understandable, maintainable and have
no material performance hit.
2014-02-05 00:04:21 +00:00
krakjoe
f88ff6c661
woops
2014-02-02 14:51:30 +00:00
krakjoe
0c94f8a893
...
2014-02-02 14:41:51 +00:00
krakjoe
e55bd70643
scrap using zend directly, too many leaks/bugs
2014-02-02 13:29:34 +00:00
krakjoe
261a5305c6
fix bugsnet #66591 and github #60
2014-01-29 07:28:54 +00:00
Bob Weinand
f4a7e50156
Update year
2014-01-17 23:09:07 +01:00
krakjoe
18f31d474e
...
2014-01-17 21:15:03 +00:00
krakjoe
54fa2883f0
remove goto from zend_try/zend_end_try/zend_catch blocks
2014-01-17 21:08:35 +00:00
krakjoe
231a1c401b
issues raised in #46 , don't quit on CTRL+C if not executing
2014-01-13 20:16:50 +00:00
krakjoe
1ba3ff157e
fix #46 ignore EOF
2014-01-13 08:14:04 +00:00
krakjoe
9add0e9f5c
Revert "fix #46 ignore EOF"
...
This reverts commit 333264fdb7
.
2014-01-13 08:12:49 +00:00
cyanogenmod
333264fdb7
fix #46 ignore EOF
2014-01-13 08:11:09 +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
krakjoe
7d51e47eda
work on #46 (handle quit local consoles gracefully)
2014-01-12 16:48:10 +00:00
Bob Weinand
78e274af31
Added rudimentary support for watchpoints on an array itself
2014-01-10 13:54:07 -05:00