Commit Graph

52 Commits

Author SHA1 Message Date
Bob Weinand
b426897c9c Fix regression in list
It showed the entire remaining file before...
2014-10-09 11:52:57 +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
6f584e22fe Merge branch 'webdata_transfer' 2014-10-07 00:45:29 +02:00
Bob Weinand
62465b6d82 Fix issues with path names and cwd 2014-10-04 23:30:57 +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
abafb7b4f9 Better naming in list command and inform about filename 2014-09-25 00:22:58 +02:00
Bob Weinand
7f9e036077 Fix breakpoints and listing 2014-09-22 23:28:07 +02:00
Bob Weinand
bbeccd7474 First draft of an xml protocol 2014-09-21 04:17:19 +02:00
Bob Weinand
58c69746e5 Fixed issue krakjoe/phpdbg#94 - List behavior is inconsistent 2014-06-29 12:43:51 +02:00
Bob Weinand
4fde0c258e Fix issue krakjoe/phpdbg#97 - list now appends a newline if there is none
The prompt should always ensure it is on a newline
2014-06-29 12:18:39 +02:00
krakjoe
b8a4a4c700 squish warnings 2014-04-13 09:07:15 +01:00
krakjoe
623888adc0 use php streams to handle line endings better for #81 2014-02-27 19:10:59 +00:00
krakjoe
e37144f44b moar cleanup 2014-02-21 20:46:56 +00:00
krakjoe
e2fcc870e3 work on lexer to be more permissive (accept moar strings)
work on parameter parsing and command resolution
work on error reporting for failed arguments
update most commands
move quiet to set quiet
move set break on/off to set breaks on/off
keep set break for set break <id> <on/off>
update help accordingly
2014-02-19 20:18:49 +00:00
krakjoe
e2e93ac259 work on parameters to commands 2014-02-19 00:33:49 +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
94d5334bca Added myself as author where I was not author yet 2013-12-18 11:02:50 +01:00
Bob Weinand
6ba73338dd Enormous whitespace fix 2013-11-26 11:02:58 +01:00
Bob Weinand
2be5a1e3da Enable backwards reading in list command 2013-11-25 20:33:52 +01:00
Felipe Pena
9ba9abfa2a Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-20 16:52:42 -02:00
Felipe Pena
ed16d3b608 - Initial code for signal handling 2013-11-20 16:52:34 -02:00
krakjoe
a0c824955c clean build on windows 2013-11-20 18:07:45 +00:00
Felipe Pena
8951406678 - Fix valgrind reports + CS 2013-11-18 19:55:29 -02:00
Joe Watkins
0966cad651 fix mmap in windows
fix mmap in windows
2013-11-17 23:48:07 +00:00
krakjoe
a0151e91a5 fix list not working when exec is set but not executing 2013-11-17 15:57:49 +00:00
Felipe Pena
180bb579bf - Fix trailling newline handling 2013-11-17 10:23:50 -02:00
Felipe Pena
677aa7baa7 - Change error message 2013-11-17 09:37:14 -02:00
krakjoe
605adfc613 phpdbg_default_switch_case(); in list lines 2013-11-17 11:31:09 +00:00
Felipe Pena
dd25fb44fd - Fix conflict 2013-11-17 09:28:14 -02:00
Felipe Pena
c302c94b0a - Use offset when listing active file and reuse list handler code 2013-11-17 09:15:53 -02:00
krakjoe
dcead8ea90 add highlight param to file listing 2013-11-17 11:11:09 +00:00
krakjoe
434949c5b4 consistency in prompt/list, do not return FAILURE from command handlers 2013-11-16 23:35:11 +00:00
krakjoe
a28ea698b8 cleanup in list ... last time 2013-11-16 23:11:39 +00:00
krakjoe
7bc369399b switches in list.c, be consistent in all command handlers 2013-11-16 22:58:30 +00:00
krakjoe
b424771ce8 stat before setting breakpoints on files
default switch case for command handlers
trace route through handler tree for debugging etc **selected
2013-11-16 22:40:01 +00:00
krakjoe
80b82cd538 add list class and method commands
update help text to be more specific
2013-11-16 18:53:12 +00:00
krakjoe
74651f8d68 ... 2013-11-16 14:58:16 +00:00
krakjoe
7acf88322b fix is_class_method (needs revision)
don't free last (needs revision)
2013-11-16 14:55:53 +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
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
krakjoe
a8285e3bbf no more printf 2013-11-12 23:43:49 +00:00
krakjoe
ce78503e15 remove more printf 2013-11-12 23:31:46 +00:00
krakjoe
3168b7b057 more windows 2013-11-12 12:38:04 +00:00
krakjoe
32acf4736b ... 2013-11-12 02:52:43 +00:00
krakjoe
8c91727484 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:35:07 +00:00
krakjoe
c7b51537a0 fix 2013-11-12 02:29:56 +00:00
Felipe Pena
e32d511cec - Added "list func" support 2013-11-12 00:19:43 -02:00