Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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.


The Ember Chrome Extension (https://chrome.google.com/webstore/detail/ember-inspector/bm...) helps a lot.


> 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.


I 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.


its 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: