~/talk

Traces of Errors: Getting Better JavaScript Stacktraces

Talkat MountainWest JavaScript 2014 · on Friday, 2014-03-21· [javascript, observability]
slides:none on file

Shows that browsers disagree about Error internals (Chrome embeds stack, IE only generates it on throw, Firefox exposes file/line/column) and that anonymous callbacks erase call-site names, so debugging is hard. Demonstrates a working monkey-patched addEventListener that forwards exceptions back into app-level handlers (adds extra stack frames but restores visibility), cites StackTrace.js, TraceKit, ZoneJS, trackjs as tools, and notes it took about 15 years for browsers to pass full stacks to global handlers.

AI-written summary · about

  1. 0:00Start
  2. 0:26Traces of Errors Getting Better JavaScript Stacktraces
  3. 4:02Demo JavaScript Error
  4. 11:361. {object Error} 2. Error Paths
  5. 20:45Demo Error Paths callback edition
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.