View Issue Details

IDProjectCategoryView StatusLast Update
0000840Xdebugpublic2012-05-28 08:24
Reporterlunetics Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformPhp 5.4.3, nginx 1.2OSFreebsd OS Version9.0 amd64
Product Version2.2.0 
Summary0000840: Xdebug crashes when a class is returned by a __call method with a static var and more than 2 props
Description

Experienced the following bug while working with Symfony2. The doctrine repository got magic __call method for entity properties (e.g. findByPropery().

Only one entity couldn't be displayed in the inspect window, xdebug crashed, and that one had a static var in it.

To drill it down, as soon as a class / object with a static propery and more than 2 properties is returned, php crashes (502 bad gateway) if a breakpoint is set.

Steps To Reproduce
  1. execute the following 2 examples
  2. ???
  3. PROFIT!
Additional Information

PhpStorm 4.0

TagsNo tags attached.
Operating System
PHP Version5.4.3

Activities

lunetics

2012-05-17 20:29

reporter   ~0002178

related to 0000824

derick

2012-05-28 08:24

administrator   ~0002199

Fixed on github, please test and reopen if it still doesn't work. Thanks for your report!