[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Possible to search variables array key/value?

If you are using xdebug you need to expand all the elements in the variables view of the array, then you can RMB to get the popup menu and select find.

You need to expand the array to request the data from xdebug. The whole array information including the keys are not downloaded in one large chunk, but requested when you expand the elements so it would not be possible to search for the information until all the keys are retrieved from xdebug.

Alternatively if you know the key value, you can create a watch expression to display just that value.

Dave Kelsey

Matthew Young wrote:
Oh no.  I'm sorry I didn't make it clear. I don't mean how to search
using PHP.  I mean while degugging, I want to look some specific key
or value of a large array dispalyed in debugger's variable view.

On Thu, 19 Feb 2009 11:03:09 +0100, "Michael N. Madsen"
<mnm@xxxxxxxxxx> wrote:

Search for value, reutns key: http://www.php.net/manual/en/function.array-search.php

Search for key, returns true: http://www.php.net/manual/en/function.array-key-exists.php