Dominik
Dominik

Reputation: 1383

Is it possible to search in PhpStorm debugger view?

Like in topic, is there any option to find something in PhpStorm Debugger view?

For example I want to find element 39001421 in:

enter image description here

How I can achieve this?

Upvotes: 0

Views: 93

Answers (2)

Dominik
Dominik

Reputation: 1383

@LazyOne Did a great job. With his help i think that i have found most effectively way to find something in PhpStorm debugger view. (if you are curious how we were looking for that answer please read comments beneath first post)

enter image description here

  1. Firstly You should shut off variable adress view. (picture 1)
  2. Secondly You should ensure that You have got "Sort Values Alphabetically" option sellected. (dropdown menu inside "gear" icon, picture 2)
  3. Thirdly You should expand what You want to looking in (picture 3)
  4. Next, You can type what You want to search for, If You don't find what you want to find, simply press up or down arrow to show next "occurence".

Upvotes: 1

SolarBear
SolarBear

Reputation: 4619

I don't think a simple Ctrl-F works here. Here's one way to do it.

When you hit your breakpoint, press Alt-F8 or from the menu, choose Run -> Evaluate expression. In the window that opens, simply input the expression you would like to evaluate; in your case, something like

$items[39001421]

You'll get the value you're looking for at the bottom of the window.

Upvotes: 1

Related Questions