I'm trying to debug some code that uses when.js
. Stepping through code, at a certain point, I arrive in when.js itself, and then get buried in a long sequence of internal calls - promise fulfillments, queueing etc.
I have when.js
blackboxed, but this doesn't seem to change much.
What I'd really like to do is skip forward to the next statement that is not in a blackboxed file, then immediately stop. Is there a way to achieve this?
In case there's doubt that the blackboxed script really does behave like this:
In my case, when.js is compiled into our app with browserify, and we have generated source maps.