Commit Graph

120 Commits

Author SHA1 Message Date
Bob Weinand
219beac36b Fix readline/libedit (Thanks to @remicollet) 2014-06-29 11:26:03 +02:00
Bob Weinand
4c79fe6afa Updated parser & leer to be usable with re2c
Fixes some weird temporary compilation errors too
2014-06-08 20:34:30 +00:00
krakjoe
e9668d4ce8 buffer input to repeat commands 2014-04-21 21:43:19 +01:00
Bob Weinand
577c6ed0ce Fixed stepping 2014-04-20 20:20:59 +02:00
Bob Weinand
422dc49c0d Merge branch 'master' of https://github.com/krakjoe/phpdbg
Conflicts:
	phpdbg_help.c
	phpdbg_prompt.c
2014-04-20 19:55:44 +02:00
krakjoe
f96feea00c step by line and opcode modes preserved, set stepping added, help updated 2014-04-20 18:46:35 +01:00
Bob Weinand
5a7497904e Breakpoints now hit only once if line was not switched 2014-04-20 13:25:28 +02:00
Bob Weinand
b1a22ae6dc Updated version number to 0.4.0
Made run accept any input and lexer re2c compatible
2014-04-16 13:56:26 +02:00
Bob Weinand
9b05f5d132 Made refcount info switchable by set refcount on/off. Default: off 2014-04-14 19:37:31 +02:00
krakjoe
42355fb9bf Merge branch 'master' of https://github.com/krakjoe/phpdbg into watchpoints_recursive
Conflicts:
	config.m4
	phpdbg.c
	phpdbg_prompt.c
2014-04-13 11:07:38 +01:00
Bob Weinand
c86ba551ac Merge branch 'master' into watchpoints_recursive
Conflicts:
	phpdbg.c
	phpdbg_utils.c
	phpdbg_utils.h
2014-03-23 23:32:13 +01:00
Bob Weinand
7b0219212d Fixed possible segmentation fault upon unset with watchpoints 2014-03-22 09:39:39 -04:00
Bob Weinand
f887960f9b removed some weird crash when freeing to early 2014-03-16 22:37:33 +01:00
Bob Weinand
3fcdd6ab0f Added WINDOWS support for watchpoints
Actually it mainly works by just a bit macro substitution and function
redeclarations.
So it leaves the code working on UNIX mostly untouched.

I needed to substitute the allocating functions by a Virtual*() functions
wrapper to use VirtualProtect() on the memory.
2014-03-16 19:39:02 +01:00
krakjoe
28debb4717 ... 2014-02-21 18:52:06 +00:00
krakjoe
e392e730ea execute new stack now 2014-02-18 19:48:33 +00:00
krakjoe
1c0fccfc9a fix readline build error bugsnet #66576 2014-01-27 07:39:34 +00:00
Bob Weinand
f4a7e50156 Update year 2014-01-17 23:09:07 +01:00
krakjoe
c645e5043e patch version 2014-01-13 08:19:37 +00:00
Bob Weinand
66e93a7820 Merge branch 'master' of ssh://github.com/krakjoe/phpdbg into watchpoints_recursive
Conflicts:
	phpdbg.c
2014-01-12 20:40:54 -05:00
Bob Weinand
78e274af31 Added rudimentary support for watchpoints on an array itself 2014-01-10 13:54:07 -05:00
Bob Weinand
c64d692f49 Merge branch 'master' into watchpoints
Conflicts:
	CREDITS
	phpdbg.c
	test.php
2013-12-31 12:07:10 -05:00
Bob Weinand
6f63609251 Fixed credits in phpdbg.* files 2013-12-23 23:55:07 +01:00
Bob Weinand
f06ac6a531 Bumped version number to 0.3.0 2013-12-20 14:03:51 +01:00
Bob Weinand
9ce9f48fb6 Moved btree to separate file; minor fixes and completitions 2013-12-15 09:05:50 -05:00
Bob Weinand
f312f6bad2 First semi-working version of a single watchpoint 2013-12-14 05:39:09 -05:00
Bob Weinand
85b97c0f70 Finished working for today, continuing tomorrow (not working) 2013-12-13 17:57:36 -05:00
Bob Weinand
488dd317fe First non-working test of segfault handlers 2013-12-11 21:27:03 +01:00
krakjoe
af979393fc resolve all warnings 2013-12-09 10:15:16 +00:00
Bob Weinand
2555fbfc4e Renumbered phpdbg.h correctly 2013-12-07 16:03:01 +01:00
Bob Weinand
50db4919ce Adapted opline_num breakpoints to master branch 2013-12-07 15:35:35 +01:00
Bob Weinand
518519b8ed Separated opline address improvements from this branch 2013-12-01 19:05:30 +01:00
Bob Weinand
25f2d4eca1 Several fixes and cleanups on opline num support 2013-12-01 15:58:59 +01:00
krakjoe
723b721fb9 update version 2013-12-01 10:23:37 +00:00
krakjoe
083cce9162 tag correct version 2013-12-01 10:22:41 +00:00
krakjoe
2c216ec648 update version 2013-12-01 08:40:31 +00:00
krakjoe
7e528a36b6 tag v2.0 2013-12-01 08:38:33 +00:00
Bob Weinand
d7f6e88493 First semi-working version of oplines 2013-11-28 21:36:45 +01:00
krakjoe
6bb080a7e1 made server persist, support disconnect and reconnect 2013-11-28 09:31:06 +00:00
krakjoe
87b556e3a1 simple tcp interface for phpdbg 2013-11-27 16:49:51 +00:00
krakjoe
3df8e29b0d many improvements in breakpoints
make file breakpoints faster
make exports happen in correct order
make deletes simpler, set flags correctly
fix info vars when no scope is set
2013-11-26 22:20:52 +00:00
Bob Weinand
6ba73338dd Enormous whitespace fix 2013-11-26 11:02:58 +01:00
krakjoe
bc7df607ab fix windows build
build shared on windows
2013-11-26 07:53:08 +00:00
Felipe Pena
d50e2546c7 - Added command "set breakpoint <on|off>" 2013-11-25 19:39:17 -02:00
Bob Weinand
4aab420c5f .phpdbginit also possible in ini dirs 2013-11-25 13:19:01 +01:00
krakjoe
ddcfa42f15 get good control over colors and prompt 2013-11-24 19:34:18 +00:00
Felipe Pena
8589c0af91 - Initial work on setting color to prompt 2013-11-24 15:00:30 -02:00
Felipe Pena
795e12b85e - Added "set prompt" command 2013-11-24 12:54:14 -02:00
Bob Weinand
2b5c929153 Add breakpoint deleting 2013-11-24 12:58:08 +01:00
Felipe Pena
70d4ac8ef3 - Moved catch cmd to "break op" cmd 2013-11-23 21:14:16 -02:00