Search

2/19/2013

Breakpoints - Chrome Developer Tools — Google Developers

Breakpoints - Chrome Developer Tools — Google Developers

Regular JavaScript Breakpoints Breakpoints in Dynamic JavaScript Pause on Next JavaScript Statement Pause on Exceptions Pause on Uncaught Exceptions Breakpoints on DOM Mutation Events -> 可以看出哪行 code 造成 dom mutation (dom removal, attribute change, subtree modification) Breakpoints on XHR -> 要看出 response 是什麼可以在 done function 加上 debugger; 然後再 console 把 response 印出來 Breakpoints on JavaScript Event Listeners

沒有留言: