View Issue Details

IDProjectCategoryView StatusLast Update
0000486XdebugStep Debuggingpublic2020-03-12 17:19
Reporteraharvey Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Summary0000486: feature_get -n breakpoint_types returns out of date list
Description

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.

TagsNo tags attached.
Operating System
PHP Version5.3-dev

Activities

aharvey

2009-11-12 07:26

reporter   ~0001126

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

derick

2009-11-22 23:44

administrator   ~0001171

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
2020-03-12 16:55 derick Severity minor => feature
2020-03-12 17:19 derick Category Feature/Change request => Step Debugging