View Issue Details

IDProjectCategoryView StatusLast Update
0000623XdebugStep Debuggingpublic2020-03-12 17:19
Reportermscheer Assigned Toderick  
Status closedResolutionfixed 
Platformx64OSWindowsOS Version7
Product Version2.1.0 
Summary0000623: Static properties of a class can be evaluated only with difficulty

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 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

Please, PLEASE, tell us when this longingly awaited feature will be available.

Steps To Reproduce


class testclass {
static private $name;

static public function show_name() {
    //do something with $name
    self::$name = &quot;Sir John\n&quot; . 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)

TagsNo tags attached.
Operating SystemWindows 7 (Windows NT 6.1 build 7600)
PHP Version5.2.9


has duplicate 0000287 resolvedderick debugging static class variables 



2011-09-15 13:18

administrator   ~0001800

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 11:49 mscheer New Issue
2011-09-15 13:18 derick Note Added: 0001800
2011-09-15 13:19 derick Status new => closed
2011-09-15 13:19 derick Assigned To => derick
2011-09-15 13:19 derick Resolution open => fixed
2012-01-25 09:39 derick Relationship added has duplicate 0000287
2020-03-12 16:55 derick Severity major => feature
2020-03-12 17:19 derick Category Feature/Change request => Step Debugging