Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I set a breakpoint within a function. Now, I want to search through the names of local variables for one named foo.

How do I do that?

share|improve this question
    
Have you tried just searching for foo, or foo or ` foo`? –  soandos Jul 2 '12 at 18:01

1 Answer 1

up vote 1 down vote accepted

Go to the scripts section, pause, and refresh. Then look in the scope variables section.

http://stackoverflow.com/questions/2934787/view-list-of-all-javascript-variables-in-google-chrome-console

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.