Commit Graph

44 Commits

Author SHA1 Message Date
Bob Weinand
8525c40eac Fix for 5.4/5.5 2014-10-18 21:54:44 +02:00
Bob Weinand
a7918213e7 Always output request id in containers 2014-10-09 12:24:52 +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
62465b6d82 Fix issues with path names and cwd 2014-10-04 23:30:57 +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
c30c40c359 Make print command xml output more consistent 2014-09-25 02:04:12 +02:00
Bob Weinand
bbeccd7474 First draft of an xml protocol 2014-09-21 04:17:19 +02: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
krakjoe
8da9b7e3a2 fix #70 2014-02-18 09:13:42 +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
krakjoe
0f8c4630f2 consistent in ___ for info/print 2013-11-25 10:17:57 +00:00
krakjoe
99f32e845e change # for J/L 2013-11-24 21:34:25 +00:00
Bob Weinand
2800af6e47 Pssst, compiler! 2013-11-24 13:27:22 +01:00
krakjoe
0488640f4c better output for disassembler 2013-11-21 13:52:20 +00:00
krakjoe
a37de13a20 correction to print stack 2013-11-18 23:49:57 +00:00
krakjoe
af20f1a474 fix memory errors when printing execution context 2013-11-18 23:48:10 +00:00
Felipe Pena
8951406678 - Fix valgrind reports + CS 2013-11-18 19:55:29 -02:00
krakjoe
508ac961aa add stack printer
add alias examples in help
tidy up in help
2013-11-18 14:24:58 +00:00
Felipe Pena
d054172a33 - Clean up command macros
- Added flag to specify no argument, required argument and optional argument
2013-11-17 19:01:41 -02:00
krakjoe
22ae0d51a1 add print exec command to show current execution context instructions
make phpdbg_compile public
2013-11-17 09:30:44 +00:00
krakjoe
8f4f4f0628 uniform code in print.c 2013-11-16 23:25:33 +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
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
1544562b49 fix case sensitivity in print func command 2013-11-14 16:29:48 +00:00
krakjoe
6c6779d474 fix case sensitivity in print method command 2013-11-14 16:25:55 +00:00
krakjoe
187d1c726b fix duplicate message on print .func if no active class 2013-11-14 12:29:23 +00:00
krakjoe
8b7ab83014 clean up build 2013-11-13 08:11:23 +00:00
krakjoe
5e266f34fc non readline fixes 2013-11-13 08:05:26 +00:00
krakjoe
b6c4fbee1b ... 2013-11-13 05:39:18 +00:00
krakjoe
99bbc8e811 method printer 2013-11-13 05:36:01 +00:00
krakjoe
efee212045 class/func printers 2013-11-13 02:26:37 +00:00
krakjoe
0781e7b863 fix segfault on set break opline address 2013-11-13 01:44:59 +00:00
krakjoe
68cff82d8b class printer 2013-11-13 01:35:39 +00:00
krakjoe
43c2748dce fix bug in passing correct expression length
add class printer (half done)
2013-11-13 00:36:47 +00:00
Felipe Pena
27f640d879 - Added phpdbg_notice() and phpdbg_error() 2013-11-12 20:39:39 -02:00
krakjoe
1d373be4fb updates to helpers 2013-11-12 09:26:26 +00:00
krakjoe
83852d3bb7 ... 2013-11-12 08:28:03 +00:00
krakjoe
c00abb0e75 printer commands 2013-11-12 08:26:11 +00:00