ariya/phantomjs — pull request #221 by jonleighton (2012-03-15 00:15:54+00:00)
Title: Javascript backtrace support

This is a WIP pull request to discuss my backtraces patch.

It's unfinished, but currently works to an extent:

```
$ cat test.js
function a() {
foo
}

a()
$ phantomjs test.js
ReferenceError: Can't find variable: foo

test.js:2 in a
test.js:5
```

I will comment more tomorrow when I have time, right now I need to sleep.