[Ironruby-core] Determining line number of runtime errors

Michael Letterle michael.letterle at gmail.com
Thu Dec 11 10:15:52 EST 2008


You should be able to pass in "-D" to ir.exe to get this information.

On Thu, Dec 11, 2008 at 1:09 AM, Benjamin van der Veen <lists at ruby-forum.com
> wrote:

> Hello all,
>
> I'm just wondering if there's any way to see what line of the source
> code was being executed when an error occurred. This is possible when
> the source is being parsed/compiled/interpreted by inspecting
> SyntaxErrorException.Line… what about when the source is being
> evaluated?
>
> Thanks,
> benjamin
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>



-- 
Michael Letterle
[Polymath Prokrammer]
http://blog.prokrams.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081211/49c29586/attachment.html>


More information about the Ironruby-core mailing list