mirror of https://github.com/svaarala/duktape.git
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.
32 lines
875 B
32 lines
875 B
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
title: add Duktape function to get current line
|
|
desc: |-
|
|
This would allow debug prints like:
|
|
|
|
print('running line', Duktape.line())
|
|
type: :task
|
|
component: duk
|
|
release: v0.10
|
|
reporter: sva <sami.vaarala@iki.fi>
|
|
status: :closed
|
|
disposition: :fixed
|
|
creation_time: 2014-01-21 00:54:45.899969 Z
|
|
references: []
|
|
|
|
id: e26d39a2db5faabcf519c09c62a8908c552ae5b6
|
|
log_events:
|
|
- - 2014-01-21 00:54:46.067790 Z
|
|
- sva <sami.vaarala@iki.fi>
|
|
- created
|
|
- ""
|
|
- - 2014-02-10 00:45:28.813569 Z
|
|
- sva <sami.vaarala@iki.fi>
|
|
- commented
|
|
- |-
|
|
This can already be implemented by creating an error and inspecting the error object,
|
|
but since pc2line conversion is trivial and much faster, this might be a useful thing
|
|
to have.
|
|
- - 2014-02-18 15:58:16.642221 Z
|
|
- sva <sami.vaarala@iki.fi>
|
|
- closed with disposition fixed
|
|
- ""
|
|
|