Auto refresh "Watch Expressions" while stepping through code

1,306 views
Skip to first unread message

nagki

unread,
Jun 15, 2011, 3:35:10 AM6/15/11
to Google Chrome Developer Tools
Is it possible to auto refresh "Watch Expressions" while stepping
through JavaScript code like "Firebug" does in Firefox ?

Now, "Watch Expressions" get refreshed only after clicking the
"Refresh" button explicitly.

Its very useful especially while looping through a for loop, I keep a
break point inside a for loop and add a local variable to "watch
expression".
Now, I can click on continue and it stops at the break point inside
the for loop for each iteration and I can see the value of the local
variable in the watch expression for each iteration.

Now,the problem with chrome dev tools is that I need click on
"Refresh" always to see the current value for that iteration.
Please let me know if any alternative is there or Is there any reason
for not supporting auto refresh of watch expressions in chrome?





pfeldman

unread,
Jun 15, 2011, 6:22:21 AM6/15/11
to Google Chrome Developer Tools
Watch expressions are updated while stepping / selecting call frames.
I just checked both Stable and Canary channels. What is your build
number / precise scenario?

nagki

unread,
Jun 16, 2011, 12:50:50 AM6/16/11
to Google Chrome Developer Tools
Thanks.
I have installed latest version and its working fine.
Reply all
Reply to author
Forward
0 new messages