--- !ditz.rubyforge.org,2008-03-06/issue title: supporting code to print out tracebacks desc: |- Maybe add a single helper which stringifies an error object's "traceback" property and/or add separate helpers to e.g. convert PC values to line numbers. From a practical perspective it would be nice if Error prototype would define getTraceback() which would return a traceback string. Perhaps the traceback property should be renamed "tracedata" because it is pretty cryptic. type: :task component: duk release: v0.7 reporter: sva status: :unstarted disposition: creation_time: 2013-09-20 14:47:42.229294 Z references: [] id: b314280b15a58ce59043634f3693ab6aa53777fc log_events: - - 2013-09-20 14:47:42.421213 Z - sva - created - "" - - 2013-09-20 15:19:23.167921 Z - sva - commented - |- V8 tracebacks are in e.stack: https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi Perhaps Error.prototype should have a 'stack' getter property which would construct the stacktrace on the fly?