How to find elements in a render array I just spent a lot of time finding an element in a render array. I usually use dpm() to print the array, and then expand the options until I find what I'm looking for.

On larger arrays that's cumbersome. When I use print_r(), I can do a text search, but then it's hard to see the structure of the array and find the path to the element. 

What other methods can you suggest?
There is extension module for Devel: Search Krumo. It uses Javascript to find text in Krumo/dpm messages and open array in those places.
Looks like this:


Update

After 22 Apr 2012 you should use sdpm() function to see search box.