jamesplease / gistbook

[No longer hosted] A place to write about technical subjects on the web.
MIT License
88 stars 16 forks source link

Log stack trace in route error callback #403

Open jamesplease opened 9 years ago

jasonLaster commented 9 years ago

you might enjoy my little util.

I'm thinking about releasing a small little package around it...

https://github.com/marionettejs/marionette.inspector/blob/master/extension/js/agent/utils/stackFrame.js

jamesplease commented 9 years ago

Nifty nifty, @jasonLaster. Can I get a screenshot of the output?

jasonLaster commented 9 years ago

actually the output is just the function name of the frame you want... It could be made more generic