Commit Graph

215 Commits

Author SHA1 Message Date
krakjoe
e7e3dbccbf shell command 2013-11-18 12:46:10 +00:00
krakjoe
81e1f70e52 change message, it's wrong 2013-11-18 12:09:01 +00:00
krakjoe
858629b600 destroy displayed exception and reset eg 2013-11-18 12:06:06 +00:00
krakjoe
57b67d71b0 display uncaught exceptions 2013-11-18 11:51:41 +00:00
krakjoe
5cc88ca88a fix stack entry detection for symbol breakpoints
count yield as return for leave/finish
2013-11-18 11:04:24 +00:00
krakjoe
c70c156ca1 seek ZEND_YIELD 2013-11-18 10:32:33 +00:00
krakjoe
775376b362 better way to detect leave/finish 2013-11-18 03:18:37 +00:00
krakjoe
8ada4342a4 don't be lazy, scan for ZEND_RETURN when setting seek opline 2013-11-18 02:14:17 +00:00
krakjoe
5b4837846a clean flags on run 2013-11-18 01:50:28 +00:00
krakjoe
a1620a7bb4 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-18 01:45:03 +00:00
krakjoe
07c0dc00cb fixup until/leave/finish 2013-11-18 01:44:46 +00:00
Felipe Pena
f72b2d6c7c - Move phpdbg_welcome to phpdbg.c and staticfy it 2013-11-17 23:07:57 -02:00
Felipe Pena
66494ad94e - CS 2013-11-17 23:05:14 -02:00
Felipe Pena
a7c4a6c21b - Removed unreached break stmt 2013-11-17 23:04:46 -02:00
Felipe Pena
44168c36a8 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-17 22:56:07 -02:00
Felipe Pena
2941a4ab50 - print command has optional arguments 2013-11-17 22:55:52 -02:00
krakjoe
f9a66f0d44 brifer 2013-11-18 00:42:07 +00:00
krakjoe
e97fcb4592 try another layout 2013-11-18 00:27:21 +00:00
Joe Watkins
27ae287c49 fix window size on windows
make window as big as possible on windows for readability
2013-11-18 00:23:04 +00:00
Felipe Pena
35601e6fec - Fix argument information 2013-11-17 20:05:21 -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
Felipe Pena
33098232dc - Fix conflict 2013-11-17 14:13:13 -02:00
Felipe Pena
478446b665 - Added macro for trailling command 2013-11-17 14:10:43 -02:00
krakjoe
02e3718ef9 fix segfault when autoglobals are not properly setup 2013-11-17 16:06:30 +00:00
Felipe Pena
17cc942e7c Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-17 13:42:46 -02:00
Felipe Pena
ca32181b1c - Initial code for info command 2013-11-17 13:42:34 -02:00
krakjoe
2ba9e9306f leave function + help 2013-11-17 15:39:23 +00:00
krakjoe
e2f20c57c1 finish? 2013-11-17 15:01:22 +00:00
Felipe Pena
f2b8cdc5be - Added finish/f command 2013-11-17 11:59:21 -02:00
Felipe Pena
f51a08b6d6 - Fix conflict 2013-11-17 10:12:10 -02:00
Felipe Pena
4eb20ecfe7 - Drop unneeded parenthesis 2013-11-17 10:10:02 -02:00
krakjoe
ced99e1b1d fix whitepsace in here first 2013-11-17 12:07:01 +00:00
Felipe Pena
dd25fb44fd - Fix conflict 2013-11-17 09:28:14 -02:00
krakjoe
dcead8ea90 add highlight param to file listing 2013-11-17 11:11:09 +00: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
434949c5b4 consistency in prompt/list, do not return FAILURE from command handlers 2013-11-16 23:35:11 +00:00
krakjoe
8f4f4f0628 uniform code in print.c 2013-11-16 23:25:33 +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
f0ed181081 get rid of No Expression Provided messages, not required anymore 2013-11-16 21:25:22 +00:00
krakjoe
593e7b28e8 stat execution context and check it is a regular file or symlink 2013-11-16 21:23:14 +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
80b82cd538 add list class and method commands
update help text to be more specific
2013-11-16 18:53:12 +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
Felipe Pena
bff5abfd95 - Fixed possible memleak 2013-11-16 10:02:35 -02:00
Felipe Pena
515f7806c5 - Fixed repeat-last-command feature for next and until command 2013-11-16 09:50:25 -02:00
krakjoe
403072e488 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-16 11:12:22 +00:00