Open belf opened 13 years ago
Thanks for reporting this, adding it to the 0.2.1 milestone
Wow! That is really quick, Thanks!
We're working on improving the line/column reporting, it's pretty bad no doubt, it'll get a lot better. It's also a requirement for the planned integrated VS debugging
While running the script above the valid error raises (ReferenceError: not_defined_yet is not defined). There are two problems: 1) The error which was thrown is System.Reflection.TargetInvocationException. An user would expect IronJS.UserError or similar (it is not serious but rather annoyance) 2) Column and Line fields of IronJS.UserError do not direct to the place where an error occurs (it is more serious, hard to figure out where an error is in a code)
The full source code is the following: