You should be able to pass in "-D" to ir.exe to get this information.<br><br><div class="gmail_quote">On Thu, Dec 11, 2008 at 1:09 AM, Benjamin van der Veen <span dir="ltr"><<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello all,<br>
<br>
I'm just wondering if there's any way to see what line of the source<br>
code was being executed when an error occurred. This is possible when<br>
the source is being parsed/compiled/interpreted by inspecting<br>
SyntaxErrorException.Line… what about when the source is being<br>
evaluated?<br>
<br>
Thanks,<br>
benjamin<br>
<font color="#888888">--<br>
Posted via <a href="http://www.ruby-forum.com/" target="_blank">http://www.ruby-forum.com/</a>.<br>
_______________________________________________<br>
Ironruby-core mailing list<br>
<a href="mailto:Ironruby-core@rubyforge.org">Ironruby-core@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Michael Letterle<br>[Polymath Prokrammer]<br><a href="http://blog.prokrams.com">http://blog.prokrams.com</a><br><br><br>