[xdebug-dev] Bug 0000070: Add feature_get breakpoint_types

From: <xdebug-dev[@]lists.xdebug.org>
Date: Tue, 24 Jan 2006 23:06:14 +0100

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000070
======================================================================
Reporter: derick
Handler:
======================================================================
Project: Xdebug
Bug ID: 70
Category: Feature/Change request
Reproducibility: N/A
Severity: trivial
Priority: high
Status: closed
Operating System:
PHP Version: 4.3.8-dev
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2004-07-06 21:55 CEST
Last Modified: 2006-01-24 23:06 CET
======================================================================
Summary: Add feature_get breakpoint_types
Description:
(21:49:07) Shane: I'm thinking of this:
feature_get breakpoint_types

<response ..... types="line conditional exception"/>
(21:50:02) Derick: that sounds fine to me, but I'd prefer "," to separate
types
            21:50
(21:50:55) Shane: we use some seperation in another attribute somewhere
else, we should match whatever that is. I don't remember if it was space
or comma.
(21:51:07) Derick: yes, that's fine
(21:51:15) Derick: i don't remember either :)
(21:51:25) Shane: the common seperation I've seen in other stuff has been
space (eg. class attributes for html)
(21:51:39) Derick: ok
======================================================================

----------------------------------------------------------------------
 derick - 2004-07-09 18:07 CEST
----------------------------------------------------------------------
Suspending for now.

----------------------------------------------------------------------
 mccabe - 2005-07-31 16:06 CEST
----------------------------------------------------------------------
I'd like to see this implemented.
Isn't is as simple as adding:

                XDEBUG_STR_CASE("breakpoint_types")
                        xdebug_xml_add_text(*retval, "line");
                        xdebug_xml_add_attribute(*retval, "supported", "1");
                XDEBUG_STR_CASE_END

To DBGP_FUNC(feature_get) in file xdebug_handler_dbgp.c (~ line 1290 of
CVS 2005-07-31)?

(Assuming xdebug onlyt supports line breakpoints ofcourse)

/Linus

----------------------------------------------------------------------
 mccabe - 2005-07-31 16:16 CEST
----------------------------------------------------------------------
The line should read:

xdebug_xml_add_text(*retval, xdstrdup("line"));

of course...

----------------------------------------------------------------------
 derick - 2006-01-24 23:06 CET
----------------------------------------------------------------------
Added in CVS.

Bug History
Date Modified Username Field Change
======================================================================
2004-07-06 21:55derick New Bug
2004-07-09 18:07derick Bugnote Added: 0000148
2004-07-09 18:07derick Status new => feedback
2005-07-31 16:06mccabe Bugnote Added: 0000268
2005-07-31 16:16mccabe Bugnote Added: 0000269
2005-08-01 14:49mccabe Bug Monitored: mccabe
2006-01-24 23:06derick Bugnote Added: 0000365
2006-01-24 23:06derick Status feedback => closed
======================================================================
Received on Tue Jan 24 2006 - 23:06:18 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST