Hi Derick,
I think Xdebug supports exception type "breakpoints" in PHP5,
the current response of "feature_get breakpoint_types", which is
"line call return ", lacks "exception" type.
A simple patch against this issue:
*** /usr/local/src/xdebug-2.0.3/xdebug_handler_dbgp.c~ Wed Apr 9 23:52:03 2008
--- /usr/local/src/xdebug-2.0.3/xdebug_handler_dbgp.c Sat Oct 4 17:39:29 2008
***************
*** 1444,1450 ****
--- 1444,1454 ----
XDEBUG_STR_CASE_END
XDEBUG_STR_CASE("breakpoint_types")
+ #if PHP_MAJOR_VERSION >= 5
+ xdebug_xml_add_text(*retval, xdstrdup("line call return exception"));
+ #else
xdebug_xml_add_text(*retval, xdstrdup("line call return"));
+ #endif
xdebug_xml_add_attribute(*retval, "supported", "1");
XDEBUG_STR_CASE_END
Best regards,
-- FUJINAKA Tohru <tohru[@]nakarika.com>Received on Sat Oct 04 2008 - 11:04:16 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST