A problem with a attribute which is declared as "private static" during debugging
Hello,
I've a class with a attribute:
private static $reserved = array('services' => 1, 'factories' => 1, 'parameters' => 1);
Unfortunately, the debugging process cannot able to parse this line of code in my class. PhPStorm just display "Collecting data..." in the Debugger panel and my apache server was restarted. I don't know what is happening. I'm using a XAMPP server.
Where is a problem? Could anyone help me?
I apologize for my English.
请先登录再写评论。
What is your Debug and PHP version?
I have PHP version 5.4.4 and Xdebug v2.2.0
Could you please try XDebug 2.2.1+. They have fixed: "Debugging static properties crashes Xdebug." that may be exactly your case.
Thanks Maxim. I have installed XDebug 2.2.3 and it's worked.