简体   繁体   中英

Excluding jQuery from Chrome Dev Tools backtrace

Is there a way to exclude jQuery, AngularJS and other libraries from the call stack (backtrace) when an exception occurs?

The problem is that if a function throws an exception somewhere in my code, I can't see from where exactly it became, because the stack shows just calls inside jQuery's functions.

Note that starting from Chrome 37 or maybe 38 you can exclude the scripts from the debugger (not from the backtrace thou). It's a feature called Blackbox script . You can read more about it here: https://developer.chrome.com/devtools/docs/blackboxing

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM