MantisBT - Xdebug
View Issue Details
0000486XdebugFeature/Change requestpublic2009-11-12 07:252009-11-22 23:44
aharvey 
 
normalminoralways
closedfixed 
 
 
5.3-dev
0000486: feature_get -n breakpoint_types returns out of date list
The list of valid breakpoint types returned by feature_get -n breakpoint_types is out of date: it only returns "line call return", when it should return "line call return conditional exception".

I'll attach a patch against HEAD momentarily.
No tags attached.
Issue History
2009-11-12 07:25aharveyNew Issue
2009-11-12 07:25aharveyPHP Version => 5.3-dev
2009-11-12 07:25aharveyXdebug Version => 2.1.0-dev
2009-11-12 07:26aharveyNote Added: 0001126
2009-11-22 23:44derickNote Added: 0001171
2009-11-22 23:44derickStatusnew => closed
2009-11-22 23:44derickResolutionopen => fixed

Notes
(0001126)
aharvey   
2009-11-12 07:26   
OK, it appears I can't attach it. Fortunately, it's simple enough to reproduce here:

Index: xdebug_handler_dbgp.c
===================================================================
RCS file: /repository/xdebug/xdebug_handler_dbgp.c,v
retrieving revision 1.143
diff -u -r1.143 xdebug_handler_dbgp.c
--- xdebug_handler_dbgp.c 17 Oct 2009 16:40:43 -0000 1.143
+++ xdebug_handler_dbgp.c 12 Nov 2009 06:23:26 -0000
@@ -1433,7 +1433,7 @@
        XDEBUG_STR_CASE_END

        XDEBUG_STR_CASE("breakpoint_types")
- xdebug_xml_add_text(*retval, xdstrdup("line call return"));
+ xdebug_xml_add_text(*retval, xdstrdup("line call return exception conditional"));
            xdebug_xml_add_attribute(*retval, "supported", "1");
        XDEBUG_STR_CASE_END
(0001171)
derick   
2009-11-22 23:44   
Fixedin CVS, thanks for the report and patch!