How do I find out what functions are called when a button is pressed in Chrome Console?

后端 未结 4 405
[愿得一人]
[愿得一人] 2020-12-01 04:11

I am trying to teach myself the Google Closure javascript library. I am examining the TreeControl UI widget.

How can I use Chrome Console to analyze what functions a

4条回答
  •  旧时难觅i
    2020-12-01 04:44

    You may be looking for the "Event Listener Breakpoints" section on the right side of the Debugger area. Open that up and select the click event under "mouse". See the screen image. Then click on the button in the app and you will immediately be taken to the code being executed.

    enter image description here

提交回复
热议问题