3 ms·
I use the debugger all the time. One problem is that when you're using Ember a lot of the call stack is cluttered with Ember internal calls, which obscures thi
by mightybyte 13y ago
I use the debugger all the time. One problem is that when you're using Ember a lot of the call stack is cluttered with Ember internal calls, which obscures things. But even after I isolated the problem down to that line, the debugger still didn't help me fix the problem.
- CookWithMe 13y ago> a lot of the call stack is cluttered with Ember internal calls, which obscures things. Your debugger should be able to display the corresponding .js file for each line in the call stack. Jump down the stack until you find your code. Yes, it doesn't solve the problem (wanna talk about debugging freaking JSP or TinyMCE plugins? :p) but you won't > spent the better part of a day trying to track down the source of this problem.
- astrodust 13y agoThe Ember Chrome Extension (https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi?hl=en https://chrome.google.com/webstore/detail/ember-inspector/bm...) helps a lot.
- thatthatis 13y agoI seem to remember reading that chrome added the ability to "black box" libraries to remove them from the debugging call stack to help with situations just like this.
- iamstef 13y agoits still WIP, once they provide framework authors with what we need, rest assured ember will land it. We are actually working close with the firefox and chrome teams, to drastically improved general JavaScript developer ergonomics when debugging.