Commit Graph

215 Commits

Author SHA1 Message Date
krakjoe
19ada893cb add phpdbg_debug function and --enable-phpdbg-debug configure option
added debug statement to do_cmd in preparation for updates
2013-11-16 11:11:47 +00:00
Felipe Pena
25b9a366e4 - Implemented issue #11 (until command) 2013-11-16 08:59:50 -02:00
krakjoe
7a56e9bc84 fix segfault on some implementations of atoi 2013-11-15 20:52:48 +00:00
krakjoe
24c6e3c317 add oplog status to context information on print command 2013-11-15 16:12:27 +00:00
krakjoe
38ed8d89d0 remove additional switch 2013-11-15 15:34:48 +00: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
76ec5635a4 include conditional breakpoints in out 2013-11-14 23:06:31 +00:00
krakjoe
f2212c05c7 add opline logging and setup including command line option 2013-11-14 21:10:44 +00:00
krakjoe
d948ea62cb correction 2013-11-14 18:51:45 +00:00
krakjoe
cd956373ba help for command line options 2013-11-14 18:50:34 +00:00
krakjoe
1ee3950747 implement init file and command line options 2013-11-14 16:58:50 +00:00
krakjoe
fb1ee0bbf6 ... 2013-11-14 16:17:22 +00:00
krakjoe
e4fefee020 fix stepping 2013-11-14 16:14:20 +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
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
695decf7e1 TSRMLS_CC missing 2013-11-14 07:46:30 +00:00
Felipe Pena
2475207588 - Missing break 2013-11-13 22:30:03 -02:00
Felipe Pena
782615ac1c - Use realpath on PHPDBG_G(exec) 2013-11-13 21:36:02 -02:00
Felipe Pena
4c59ad6e2e - Added parameter parsing functions 2013-11-13 21:13:41 -02:00
Felipe Pena
9840c6ae97 - Unnesting some code 2013-11-13 19:43:54 -02:00
Felipe Pena
b81236d694 - Removed double checking + ws changes 2013-11-13 19:31:33 -02:00
krakjoe
3f927019cb updates for windows 2013-11-13 21:15:45 +00:00
krakjoe
0bc987c9b4 fix clashing 2013-11-13 18:17:06 +00:00
krakjoe
375c90324c ... 2013-11-13 17:39:53 +00:00
krakjoe
188f4d3c51 aliasing commands 2013-11-13 17:35:51 +00:00
krakjoe
f6d45107b2 show conditionals 2013-11-13 14:50:13 +00:00
krakjoe
072622e799 don't allow conditionals to be executed by eval()'d code 2013-11-13 14:41:25 +00:00
krakjoe
57ae58c9bf support conditional breakpoints 2013-11-13 14:22:01 +00:00
krakjoe
5e266f34fc non readline fixes 2013-11-13 08:05:26 +00:00
krakjoe
99bbc8e811 method printer 2013-11-13 05:36:01 +00:00
krakjoe
88ad7f9279 more detailed opline 2013-11-13 04:47:07 +00:00
krakjoe
63a0c1ca15 ... 2013-11-13 04:34:02 +00:00
krakjoe
a6d08af06b fix leak from readline 2013-11-13 04:20:39 +00:00
krakjoe
2464629b5c fix 2013-11-13 02:50:00 +00:00
krakjoe
fec3b77a0f ... 2013-11-13 02:48:22 +00:00
krakjoe
0ade5f0d9d fix list length lookup 2013-11-13 02:43:09 +00:00
krakjoe
94e887cf2a ... 2013-11-13 02:39:02 +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
krakjoe
5204026308 housework 2013-11-12 23:54:41 +00:00
krakjoe
ce78503e15 remove more printf 2013-11-12 23:31:46 +00:00
krakjoe
afa216fd7e deploy _write 2013-11-12 23:17:37 +00:00
krakjoe
a712674964 added phpdbg_write to replace all the printf 2013-11-12 23:10:53 +00:00
Felipe Pena
5d435cb831 - Spred more some macro usage instead of phpdbg_print() 2013-11-12 20:48:52 -02:00
Felipe Pena
27f640d879 - Added phpdbg_notice() and phpdbg_error() 2013-11-12 20:39:39 -02:00
krakjoe
c43d5a558f ... 2013-11-12 16:04:41 +00:00
krakjoe
803303057a fix output from print command to show all breakpoints 2013-11-12 15:51:30 +00:00
Felipe Pena
b133dbefe0 Merge branch 'master' of github.com:krakjoe/phpdbg 2013-11-12 11:34:09 -02:00
Felipe Pena
af90b6d5c7 - Improved breakpoint code 2013-11-12 11:33:51 -02:00
krakjoe
4269b29c03 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 13:23:54 +00:00
krakjoe
277b10a5c0 ... 2013-11-12 13:21:55 +00:00
Felipe Pena
fdf26eaa0f - Removed name member to opline breakpoints 2013-11-12 11:07:35 -02:00
Felipe Pena
ffad3fa211 - Implemented "break N" where N is the line number on the current file 2013-11-12 10:58:19 -02: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
c00abb0e75 printer commands 2013-11-12 08:26:11 +00:00
krakjoe
f566a6136b additional list option, class methods 2013-11-12 06:43:23 +00:00
krakjoe
78418cc38c ... 2013-11-12 06:04:32 +00:00
krakjoe
4112330bb5 colourfulness 2013-11-12 06:03:37 +00:00
krakjoe
6c317b771e more command line options 2013-11-12 04:53:04 +00:00
krakjoe
33f0502f19 readline support #6 2013-11-12 04:20:14 +00:00
krakjoe
ed690e1899 ... 2013-11-12 02:59:10 +00:00
krakjoe
69a8403175 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:50:44 +00:00
krakjoe
b9c1c872f6 ... 2013-11-12 02:50:24 +00:00
Felipe Pena
6658f58d4a - Added phpdbg_is_empty function 2013-11-12 00:50:15 -02:00
krakjoe
79ab9a3f74 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:35:29 +00:00
krakjoe
8c91727484 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:35:07 +00:00
Felipe Pena
bd432b995e - Update list cmd description 2013-11-12 00:34:10 -02:00
krakjoe
c7b51537a0 fix 2013-11-12 02:29:56 +00:00
Felipe Pena
629b96295e - Fix conflict 2013-11-12 00:25:30 -02:00
Felipe Pena
e32d511cec - Added "list func" support 2013-11-12 00:19:43 -02:00
krakjoe
d7e09f9564 blurb/version/issues string 2013-11-12 02:04:54 +00:00
krakjoe
c2365d8283 compress globals 2013-11-12 01:51:50 +00:00
krakjoe
8de21cb2e2 [Not running] 2013-11-12 01:31:51 +00:00
krakjoe
8586a1b4cc ... 2013-11-12 01:27:48 +00:00
krakjoe
749e0cfc36 condense globals
introduce flags
sensible silence and stepping
2013-11-12 01:24:53 +00:00
krakjoe
0a6804a986 ... 2013-11-12 00:47:27 +00:00
krakjoe
95d33c18a0 Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 00:28:48 +00:00
krakjoe
e0cbd92fa4 break on class methods
don't dtor eval'd retval
more reliable break on methods
2013-11-12 00:27:48 +00:00
Felipe Pena
bbc35b60f9 - Added check for no context file 2013-11-11 22:24:24 -02:00
Felipe Pena
36d2329187 - Added initial code for list command 2013-11-11 21:40:03 -02:00
Felipe Pena
dd4e962c56 - WS 2013-11-11 20:02:34 -02:00
krakjoe
42eaa989af separation etc 2013-11-11 17:19:05 +00:00
krakjoe
5ef19b1b45 ws 2013-11-11 17:12:31 +00:00
krakjoe
fb815caf7a fix segfault on empty eval 2013-11-11 17:09:08 +00:00
krakjoe
f62b47c9ff fix opcode missing on eval 2013-11-11 17:06:30 +00:00
krakjoe
3c644612af typo 2013-11-11 17:01:33 +00:00
krakjoe
3e3a7babad stop multiple executions from occuring at once, #5 2013-11-11 15:54:33 +00:00
krakjoe
34ae94ad9a phpdbg_break userland 2013-11-11 14:33:53 +00:00
krakjoe
5fdae4612b ... 2013-11-11 14:07:07 +00:00
krakjoe
56957d9e25 output [] around phpdbg text 2013-11-11 14:03:14 +00:00
krakjoe
207e54a1c5 ... 2013-11-11 13:31:41 +00:00
krakjoe
764d7d492c fix break on opline 2013-11-11 13:04:21 +00:00
krakjoe
28848919cf break opline help 2013-11-11 12:07:11 +00:00
krakjoe
67dc98732e break on opline 2013-11-11 11:54:41 +00:00
krakjoe
cb24989f06 updates to break setting 2013-11-11 09:36:33 +00:00
krakjoe
3955dcf673 more output on setting break points
output breaks with print command
2013-11-11 09:14:30 +00:00