最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to see Javascript stack of a website? - Stack Overflow

programmeradmin1浏览0评论

Let's say I am visiting CNN, and they use javascript as we know. They initialize some variables and change it during my visit. How can I watch what values these variables are getting?

Let's say I am visiting CNN, and they use javascript as we know. They initialize some variables and change it during my visit. How can I watch what values these variables are getting?

Share Improve this question asked Jan 20, 2011 at 23:14 cuneytcuneyt 3661 gold badge5 silver badges15 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 4

Install firebug and use the script tab. You can set breakpoints, step through code and more.

If you are not using FF, you can use firebuglite.


IE8 and above have similar built in dev tools easily accessible by pressing F12.

Chrome and Safari have such built in tools too, and so does the latest version of Opera.

发布评论

评论列表(0)

  1. 暂无评论