MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000486XdebugFeature/Change requestpublic2009-11-12 07:252009-11-22 23:44
Reporteraharvey 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000486: feature_get -n breakpoint_types returns out of date list
DescriptionThe 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.
TagsNo tags attached.
Operating System
PHP Version5.3-dev
Attached Files

- Relationships

-  Notes
(0001126)
aharvey (reporter)
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 (administrator)
2009-11-22 23:44

Fixedin CVS, thanks for the report and patch!

- Issue History
Date Modified Username Field Change
2009-11-12 07:25 aharvey New Issue
2009-11-12 07:25 aharvey PHP Version => 5.3-dev
2009-11-12 07:25 aharvey Xdebug Version => 2.1.0-dev
2009-11-12 07:26 aharvey Note Added: 0001126
2009-11-22 23:44 derick Note Added: 0001171
2009-11-22 23:44 derick Status new => closed
2009-11-22 23:44 derick Resolution open => fixed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker