XDebug - strange problem debugging Yii


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?

Thanks in advance

i open xdebug and run the demo blog(svn r1573), it looks well~

What xdebug client do you use?

i use the xdebug in the Windows XP (My Development Environment)

in the php.ini, i add the follow config:

zend_extension_ts = "D:\webserver\php-extensions\php_xdebug-2.0.5-5.2.dll"

but my question was what client do you use for variables preview ;)