Community
Participate
Working Groups
There is a problem when we click with right button of mouse on some element of array in Variables View and choose an option "Create Watch Expression" for example if we want to create watch expression $_SERVER['HTTP_REFERER'] we click on the plus near $_SERVER variable and look for key HTTP_REFERER, than click by right button and choose "Create Watch Expression", but the watch expression is only a key of our array, so it looks like HTTP_REFERER instead of $_SERVER['HTTP_REFERER']
Still relevant - changing version to 2.0.0 [Sylvia Tancheva]
Created attachment 139612 [details] proposal patch
fixed in HEAD
Tested on 2.1SR1. Still reproducible. Reopening and moving to 2.2.0M1
Created attachment 156309 [details] patch
Seems like the patch is not complete. There is a compilation error in WatchExpressionFactoryAdapter:29, method getVariable() is not available.
Created attachment 156748 [details] patch i missed something
contributed by Zhao, Thanks!
Verified - closing. [Sylvia Tancheva]
Hi, I don't know, but still reproducible with PDT 2.2, so I reopen, I add $_SERVER to Expressions view, expand this expression and right click on e.g. HTTP_HOST and select Watch and string HTTP_HOST is added to the expression view and should be added $_SERVER['HTTP_HOST'] instead.
looks like this defect was raised against the zend debugger. Are you using xdebug ?
i'm using XDebug
This bug entry applies only to the zend debugger and has probably been fixed for the zend debugger. If you want the same behaviour when using the xdebug debugger then please could you raise an enhancement bugzilla ? Thanks
Hi I also think that this bug was opened for zend debugger initially and I remember that it was me who checked and closed it.