addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Traces of Errors: Getting Better JavaScript Stacktraces

JavaScript dies in many ways: maybe a script failed to load, maybe AJAX came back in the wrong order, or maybe the browser is doing something weird. Whatever the reason, too often our only clue is:

"TypeError: e is undefined. scripts.js. line 1"

Let's stop playing that game. Let's go on a scavenger hunt! Hidden in our code is the secret to actually *getting* the Stacktraces from JavaScript errors. Then, let's explore ways to add more context to *get better* stacktraces that convey more meaning about the state of our application when it failed. About Todd
Todd H Gardner is an independent software developer and entrepreneur, with over a decade of experience in development, design, and leadership. Todd holds a Masters in Management of Technology from the University of Minnesota.

He is passionate about teams, communication, and quality in software and has led product teams from small businesses and major corporations.

Todd is the co-founder of {Track:js}, an innovative JavaScript error logging service. He tweets at @toddhgardner.

Join or login to comment.

  • Dustan K.

    Who knew JS Errors could be so humorous? Content was very informative, well paced, and extremely well presented.

    June 20, 2014

  • Walt D.

    Does anyone know if the A/C will be running this time, or should we wear shorts?

    June 18, 2014

23 went

Our Sponsors

  • Levvel

    Levvel provides food and drink for every meetup

  • Knowmad

    Knowmad provides food and refreshments for CharlotteJS Meetups

  • Untold Digital

    CharlotteJS events are held in Untold's offices at NCMusic Factory

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy