Commit Graph

48 Commits

Author SHA1 Message Date
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
4e6a8eeffa Breakpoints are now persistent over cleans 2013-11-25 23:38:43 +01:00
krakjoe
3078834098 add source command 2013-11-25 16:39:14 +00:00
krakjoe
c72c2687da ... 2013-11-24 15:26:02 +00:00
Felipe Pena
795e12b85e - Added "set prompt" command 2013-11-24 12:54:14 -02:00
Felipe Pena
70d4ac8ef3 - Moved catch cmd to "break op" cmd 2013-11-23 21:14:16 -02:00
Felipe Pena
f5c07f61e1 - Added catch command 2013-11-23 20:03:17 -02:00
Bob Weinand
c46a413697 Merge branch 'master' of https://github.com/krakjoe/phpdbg into frames
Conflicts:
	phpdbg.h
	phpdbg_prompt.c
2013-11-22 18:32:00 +01:00
Bob Weinand
5b51fb40e9 Added frames and beautified backtrace 2013-11-22 18:27:55 +01:00
krakjoe
cdd72cfda7 housekeeping, moving stuff to appropriate units 2013-11-21 19:47:31 +00:00
krakjoe
0488640f4c better output for disassembler 2013-11-21 13:52:20 +00:00
Felipe Pena
c3f43f0a6e - Added support to break when signaling ctrl+c 2013-11-20 17:16:07 -02:00
krakjoe
12d969558d -r option 2013-11-20 16:19:37 +00:00
krakjoe
d906613eb5 tidy up reading input, avoid leaks, restore sanity 2013-11-19 12:39:48 +00:00
Felipe Pena
f72b2d6c7c - Move phpdbg_welcome to phpdbg.c and staticfy it 2013-11-17 23:07:57 -02: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
2ba9e9306f leave function + help 2013-11-17 15:39:23 +00:00
Felipe Pena
f2b8cdc5be - Added finish/f command 2013-11-17 11:59:21 -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
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
5a0422d8c6 establish relationship between parent and child commands
extend alias help
automatically invoke child commands
2013-11-16 20:57:10 +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
Felipe Pena
25b9a366e4 - Implemented issue #11 (until command) 2013-11-16 08:59:50 -02:00
krakjoe
a3f2137173 ... 2013-11-15 15:26:51 +00:00
krakjoe
b63fd6d261 embed code in .phpdbginit 2013-11-15 14:53:40 +00:00
krakjoe
aeeba85221 implement 5.4 support 2013-11-15 11:19:26 +00:00
krakjoe
1ee3950747 implement init file and command line options 2013-11-14 16:58:50 +00:00
krakjoe
7763b0b383 phpdbg_init from file & command line option (no impl yet) 2013-11-14 14:14:13 +00:00
krakjoe
dcb6906bc4 fix crash when cleaning environment
fix crash when specifying exec on command line
2013-11-14 11:13:21 +00:00
krakjoe
188f4d3c51 aliasing commands 2013-11-13 17:35:51 +00:00
krakjoe
7f743e1fca ... 2013-11-12 09:52:59 +00:00
krakjoe
1d373be4fb updates to helpers 2013-11-12 09:26:26 +00:00
krakjoe
5f82f002f0 clean not destroy included files
remove argc, argv from phpdbg_interactive, unused
2013-11-11 08:08:26 +00:00
krakjoe
aba249e5c7 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-10 22:46:49 +00:00
Felipe Pena
e1931c14a5 - Move PHPDBG_NEXT to prompt header 2013-11-10 19:51:44 -02:00
krakjoe
587003ee48 exec last command automatically on enter 2013-11-10 21:49:37 +00:00
Felipe Pena
defc4c3180 - Added separated file to handle breakpoint feature 2013-11-10 16:06:41 -02:00
Felipe Pena
16930d85f8 - Initial code for breakpoint on function 2013-11-10 15:49:25 -02:00
Felipe Pena
23cfc8ed35 - More work on file:line breakpoint 2013-11-10 13:11:56 -02:00
Felipe Pena
d772009921 - Breakpoint initial work 2013-11-10 12:36:30 -02:00
krakjoe
5c866a9f13 stepping 2013-11-10 14:28:14 +00:00
krakjoe
c6cb411d39 execution 2013-11-10 13:01:46 +00:00
Felipe Pena
9dd3e54351 - Cosmetic changes 2013-11-10 09:36:57 -02:00
krakjoe
2089caed53 bit more work on menu
implement helper menu
name some macros to help with declarations (sorry Felipe :))
2013-11-10 10:44:42 +00:00
Felipe Pena
2bda09abc6 - Added prototype for non-static function, fixed typo and staticfy command handler 2013-11-09 23:42:41 -02:00
Felipe Pena
612d6b2582 - Added initial code for a simple prompt 2013-11-09 23:30:32 -02:00