| Anonymous | Login | Signup for a new account | 2013-05-22 05:00 BST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000623 | Xdebug | Feature/Change request | public | 2010-09-28 12:49 | 2011-09-15 14:19 | |||
| Reporter | mscheer | |||||||
| Assigned To | derick | |||||||
| Priority | high | Severity | major | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | x64 | OS | Windows | OS Version | 7 | |||
| Product Version | 2.1.0 | |||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000623: Static properties of a class can be evaluated only with difficulty | |||||||
| Description | Xdebug lacks the evaluation of static class properties. But days of procedural programming had been slowly passing and in an OO-driven development this is a must have of debugger and ide! In the past it had been a workaround to enable watches in Netbeans to have a look at static class properties. Cumbersome, but those watches made xdebug unstable and it often crashed. In Netbeans for this reason they are disabled by default. Feature request http://bugs.xdebug.org/view.php?id=287 [^] is open since 2007-06-25. In the mailing lists I read from Derick, 2009-12-01: > This is not possible yet, but there is a feature request http://xdebug.org/archives/xdebug-general/1687.html [^] Please, PLEASE, tell us when this longingly awaited feature will be available. | |||||||
| Steps To Reproduce | <?php class testclass { static private $name; static public function show_name() { //do something with $name self::$name = "Sir John\n" . self::$name; return self::$name; } } echo testclass::show_name(); ?> To repro, but a breakpoint at line 9. The value of self::$name is not visible. | |||||||
| Additional Information | Intel x64 Netbeans 6.9.1 PHP Version 5.2.9 (xampp 1.7.1, Thread Safety enabled) php_xdebug-2.1.0-5.2-vc6.dll | |||||||
| Tags | No tags attached. | |||||||
| Operating System | Windows 7 (Windows NT 6.1 build 7600) | |||||||
| PHP Version | 5.2.9 | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0001800) derick (administrator) 2011-09-15 14:18 |
This feature has just been committed to GIT, for both Xdebug 2.1.3 and 2.2dev. Please test if you can! |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-09-28 12:49 | mscheer | New Issue | |
| 2011-09-15 14:18 | derick | Note Added: 0001800 | |
| 2011-09-15 14:19 | derick | Status | new => closed |
| 2011-09-15 14:19 | derick | Assigned To | => derick |
| 2011-09-15 14:19 | derick | Resolution | open => fixed |
| 2012-01-25 09:39 | derick | Relationship added | has duplicate 0000287 |
| Copyright © 2000 - 2011 MantisBT Group |