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
krakjoe
ee6cc5ba60
do not allow abbreivation of anything without alias, fixes input for sh/ev
2014-02-21 21:31:01 +00:00
krakjoe
c3a897bf3d
introduce proper support for file:#opline
2014-02-21 18:01:50 +00:00
krakjoe
fde1e44d62
trim breaking commands
2014-02-21 16:18:46 +00:00
krakjoe
5db16dd989
better-ness, I think
2014-02-21 14:44:16 +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
996182993d
remove input_t
...
support single char aliases
...
2014-02-19 08:33:54 +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
Ivan Enderlin
e5263aa3f0
In english, no horizontal space before “!”.
2013-12-18 11:53:30 +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
50db4919ce
Adapted opline_num breakpoints to master branch
2013-12-07 15:35:35 +01:00
Bob Weinand
76f889569f
Nearly finished opline num support patch
2013-12-03 12:31:25 +01:00
krakjoe
fd9026b948
extended conditional breakpoints
2013-12-03 00:15:33 +00:00
Bob Weinand
d7f6e88493
First semi-working version of oplines
2013-11-28 21:36:45 +01:00
krakjoe
37b3a21cf4
improve api
2013-11-27 09:55:16 +00:00
Bob Weinand
6ba73338dd
Enormous whitespace fix
2013-11-26 11:02:58 +01:00
Bob Weinand
7c51efd473
Merge branch 'master' of https://github.com/krakjoe/phpdbg
2013-11-24 12:58:19 +01:00
Felipe Pena
f4db0669d0
- Passing strlen to phpdbg_set_breakpoint_symbol
2013-11-24 10:00:12 -02:00
Bob Weinand
2b5c929153
Add breakpoint deleting
2013-11-24 12:58:08 +01:00
Felipe Pena
90ff693d62
- Added print information about opcode breakpoint
2013-11-24 09:43:05 -02:00
Felipe Pena
70d4ac8ef3
- Moved catch cmd to "break op" cmd
2013-11-23 21:14:16 -02:00
krakjoe
5ec586ce94
restore sanity to commands/handlers/the universe
2013-11-20 21:47:44 +00:00
krakjoe
75e2e7ddf5
stop break on condition from bugging out
2013-11-20 20:29:14 +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
102e3477d7
remove more no expression provided messages
2013-11-16 21:28:59 +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
b4de11a2b4
...
2013-11-14 16:03:40 +00:00
Felipe Pena
0eea7e4504
- Cosmetic changes
2013-11-13 22:29:44 -02:00
Felipe Pena
4c59ad6e2e
- Added parameter parsing functions
2013-11-13 21:13:41 -02:00
Felipe Pena
0cc067aa81
- Added check for file context on "break lineno" and name length on "break func"
2013-11-13 19:27:24 -02:00
Felipe Pena
388b132d31
- Fixed crash when supplied invalid syntax to "break file"
2013-11-13 19:11:45 -02:00
krakjoe
1c1cc51295
...
2013-11-13 19:32:21 +00:00