You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
--- !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 <sami.vaarala@iki.fi>
|
|
|
|
status: :closed
|
|
|
|
disposition: :fixed
|
|
|
|
creation_time: 2013-09-20 14:47:42.229294 Z
|
|
|
|
references: []
|
|
|
|
|
|
|
|
id: b314280b15a58ce59043634f3693ab6aa53777fc
|
|
|
|
log_events:
|
|
|
|
- - 2013-09-20 14:47:42.421213 Z
|
|
|
|
- sva <sami.vaarala@iki.fi>
|
|
|
|
- created
|
|
|
|
- ""
|
|
|
|
- - 2013-09-20 15:19:23.167921 Z
|
|
|
|
- sva <sami.vaarala@iki.fi>
|
|
|
|
- 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?
|
|
|
|
- - 2013-10-22 21:22:00.582330 Z
|
|
|
|
- sva <sami.vaarala@iki.fi>
|
|
|
|
- closed with disposition fixed
|
|
|
|
- ""
|