image/svg+xml Exceptions With Backtraces David Eichmann ghc -prof -fprof-auto Main.hs HasCallStack DWARF Can I just have my backtrace please? ./Main +RTS -xc HasCallStack Yes You Can! Exceptions are decorated with a backtrace by default! catchWithBacktrace Backtraces are collected on / becomes the new root of the Exception heirarchy Thank You Implementation Now Exceptions have Backtraces!
  1. Cover
  2. No Backtrace
  3. Profiled
  4. HasCallStack
  5. HasCallStack
  6. DWARF
  7. Can We?
  8. Yes
  9. Exceptions Have Backtraces
  10. Success!
  11. Implementation
  12. catch
  13. New frame