Commit Graph

32 Commits

Author SHA1 Message Date
Bob Weinand
a981e3a1d2 Fixed refcount removing if specified 2014-04-15 19:20:01 +02:00
Bob Weinand
9b05f5d132 Made refcount info switchable by set refcount on/off. Default: off 2014-04-14 19:37:31 +02:00
Bob Weinand
2dad85ae61 Return SUCCESS and do not confuse use with errors 2014-04-14 16:26:27 +02:00
Bob Weinand
8c22352e88 Added $this and superglobals support for watchpoints 2014-04-14 15:47:36 +02:00
Bob Weinand
fdd9bc2050 Clean up information on watchpoint breaks 2014-04-14 10:46:52 +02:00
Bob Weinand
eae91d9de7 Added help 2014-04-13 17:34:27 +02:00
Bob Weinand
9d72a84f06 Add array watchpoints if recursive zval watchpoint changed + WS 2014-04-03 19:53:58 +00:00
Bob Weinand
fcacee0595 Fixed deleting watchpoints (plus error in btree_delete) 2014-04-03 19:34:08 +00:00
Bob Weinand
30fab784dc Fixed TSRM build 2014-03-23 14:57:25 +01:00
Bob Weinand
7b0219212d Fixed possible segmentation fault upon unset with watchpoints 2014-03-22 09:39:39 -04:00
Bob Weinand
1401314a1b Fixed one major bug in phpdbg_btree_delete
There is some bug when arrays/property tables are deleted: the children are not notified

(Considering now to overwrite the dtor of the array)
2014-03-17 06:19:14 -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
Bob Weinand
7a9e3e422f Added support for recursive watchpoints deletion 2014-03-11 09:11:27 -04:00
Bob Weinand
008842c7fa Added COW handling and fixed various bugs 2014-03-11 06:14:32 -04:00
Bob Weinand
b033c4fa28 Added handling of zval separation (aka watchpoint changes) 2014-03-10 09:10:27 -04:00
Bob Weinand
37ca791a91 Fixed recursive segfault in segfault handler 2014-03-08 09:52:57 -05:00
Bob Weinand
ab16299355 Removed some segfault; does still not delete all the watches if var is removed, might segfault 2014-01-18 20:36:56 -05:00
Bob Weinand
78e274af31 Added rudimentary support for watchpoints on an array itself 2014-01-10 13:54:07 -05:00
Bob Weinand
f4eeda9a9b First try of recursive watchpoints 2013-12-31 13:14:36 -05:00
Bob Weinand
6ee1da1f55 ZTS fixed 2013-12-20 22:17:30 -05:00
Bob Weinand
3f70e9f8bd Fixed deletion of watchpoints 2013-12-19 22:21:08 -05:00
Bob Weinand
5e351695b6 Added deleting of watchpoints 2013-12-19 11:05:38 -05:00
Bob Weinand
0dbc5c2087 first working version of wildcard watchpoints 2013-12-18 02:56:20 -05:00
Bob Weinand
0a8c20e740 Handle automatic removing of watchpoints and cleanup at the end 2013-12-16 10:29:31 -05:00
Bob Weinand
d3c8d76e5b Merge branch 'watchpoints' of ssh://github.com/krakjoe/phpdbg into watchpoints
Conflicts:
	phpdbg_watch.c
2013-12-15 09:10:28 -05:00
Bob Weinand
9ce9f48fb6 Moved btree to separate file; minor fixes and completitions 2013-12-15 09:05:50 -05:00
Felipe Pena
75b4b4676b - Staticfy some functions 2013-12-15 11:58:14 -02:00
Felipe Pena
0ca7f72130 - Fixed build 2013-12-15 11:55:03 -02: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
2e5d78192e Committed the damned new files 2013-12-11 21:31:22 +01:00