Chrome調試 - 在下次點擊活動中休息 - Chrome debugging - break on next click event

問題:

We have a button. 我們有一個按鈕。 Click events are handled by a 3rd party framework, however, the framework is buggy somehow. Click事件由第三方框架處理,但是,框架在某種程度上是錯誤的。

We want to debug the framework, however, we don't know where the corresponding event handler code resides to set a breakpoint. 我們想調試框架,但是,我們不知道相應的事件處理程序代碼在哪裏設置斷點。 How to generally "break on next click event" and see where and how this click is handled by the 3rd party framework? 如何一般“打破下一次點擊事件”,看看第三方框架處理這個點擊的位置和方式?


解決方案:

參考一: https://en.stackoom.com/question/1HCoo
參考二: https://stackoom.com/question/1HCoo
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章