admin管理员组

文章数量:1203400

Maybe Firebug or Opera, Google Chrome tools allows it. Where to find it? how to use?

Example: I click the button and want to see what Javascript code fired up after that action.

Maybe Firebug or Opera, Google Chrome tools allows it. Where to find it? how to use?

Example: I click the button and want to see what Javascript code fired up after that action.

Share Improve this question edited May 4, 2019 at 17:06 Brian Tompsett - 汤莱恩 5,88372 gold badges61 silver badges133 bronze badges asked Apr 7, 2012 at 18:30 user1286094user1286094 1211 silver badge6 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 23

In Google Chrome, you can open Developer Tools (Ctrl+Shift+J)

Choose Profiles tab, choose Collect JavaScript CPU Profile, click Start

When finish, click Stop and see the progress log...

you can include firebug lite in your html .. that will enable you to debug javascript ..you can get it from here : http://getfirebug.com/firebuglite

本文标签: debuggingBrowser debug how to see what Javascript functions was called after some actionStack Overflow