today I tried debugging demo application for Yii 1.1 beta (simple Blog).
It’s quite strange, but wherever I put the bp inside of controller method, all the local variables (and watches) [except $this] are reported to be “uninitialized” … it’s weird, in “pure” PHP it works correcly … also other frameworks I tried to debug were OK … here’s the screenshot:
As you see, $post is definitely initialized.
Any solution? Is that XDebug bug, or some kind of Yii optimization?