Bob Weinand
29edee4e70
Fix last commit, and do not output unnecessary information
2014-10-26 22:21:18 +01:00
Bob Weinand
05711d9961
Stabilize execution, always run destructors and extended file breakpoints
2014-10-26 20:43:49 +01:00
krakjoe
65eaab52b6
remove dodgy param parser, bring userland breakpoint api inline with PHP7
2014-10-26 07:24:35 +00:00
krakjoe
5feb96520a
disable output buffering by default
2014-10-26 07:08:29 +00:00
Bob Weinand
918466c262
Add question to reset execution in run/exec/clean
2014-10-26 03:50:28 +01:00
Bob Weinand
bbcee18b4b
Fix phpdbg output when outputting via php with active output handlers
2014-10-25 18:48:43 +02:00
Bob Weinand
e995ad1131
Fix eventual stack overflow after clean cmd
2014-10-25 15:28:41 +02:00
Bob Weinand
9053b8a4d4
Name the tag <eval> if the error id during ev cmd
2014-10-24 14:16:49 +02:00
Anatol Belski
a741d3b266
basic EOL implementation for CRLF
2014-10-21 15:50:55 +02:00
Anatol Belski
63a450281a
reworked the current EOL stuff
2014-10-21 11:47:21 +02:00
Anatol Belski
e011f0ca60
prepare setting EOL with command or INI
2014-10-21 11:47:20 +02:00
Anatol Belski
55936dc23d
correct place to start the sigio watcher
...
plus started with the eol command
2014-10-21 11:47:19 +02:00
Anatol Belski
3dec59f00d
basic sigio surrogate for windows
2014-10-21 11:47:17 +02:00
Bob Weinand
07670ff871
Fix TSRMLS_* and a few warnings
2014-10-19 21:20:43 +02:00
Anatol Belski
795cb98ac6
revert PHP_EOL changes
2014-10-19 20:09:39 +02:00
Anatol Belski
0acafba89d
improve server sock creation and support ipv6
2014-10-19 13:40:45 +02:00
Anatol Belski
2be895e4fe
more EOL fixes
2014-10-19 11:10:13 +02:00
Anatol Belski
52d2ead59d
override stdin and stdout to be remote, stderr is untouched however
...
is this ok? some functions want to write a log there ...
2014-10-19 01:31:00 +02:00
Bob Weinand
6932bbfd52
Merge branch 'xml-protocol'
...
Conflicts:
phpdbg.c
phpdbg_list.c
2014-10-18 21:12:25 +02:00
Anatol Belski
449fd307e4
enable console options for remote on win
2014-10-12 20:05:26 +02:00
Anatol Belski
d5ce62c17c
basic rework for remote on win
2014-10-12 19:53:05 +02:00
Bob Weinand
e19c789979
Maybe-fix for krakjoe/phpdbg#120 , fixed remote on darwin
2014-10-11 23:36:12 +02:00
Bob Weinand
eeafa4e518
Merge branch 'master' into xml-protocol
2014-10-09 12:01:43 +02:00
Bob Weinand
ca7f2f5f43
Ports are unsigned short, use unsigned to display
2014-10-09 12:01:25 +02:00
Bob Weinand
9db6a93b69
Add <intros> tag around <intro /> tags
2014-10-09 00:25:25 +02:00
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
3b81337f80
Fix accidental short-circuiting when comparing fds (& warnings)
2014-09-23 18:29:36 +02:00
Bob Weinand
ca635e4884
A few general segfault fixes
2014-09-22 00:52:22 +02:00
Bob Weinand
bbeccd7474
First draft of an xml protocol
2014-09-21 04:17:19 +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