Hey all,
I've noticed that the IronRuby 1.0+ installer copies all of the
requisite libraries into the GAC. However, it would also be nice if the
installer also updated the registry to allow the libraries to show up in
the "Add References" dialog in VS2010. See
http://support.microsoft.com/kb/30614
Hmm, UnhandledExceptionEventArgs seems to only have two properties,
ExceptionObject and IsTerminating, both of which are read-only. After a
bit of investigation, there is another type of unhandled-exception
handler, set with Application.ThreadException, which can prevent
application termination. Ho
Unfortunantly, the problem with setting the unhandled exception event is
that there's no way to 'recover' from the exception; the application
terminates immediately after the event. Additionally, this method
doesn't seem to work for exceptions within threads:
class Program
{
static void
Hi there,
So my application is basically a lightweight IDE for IronRuby, built in
C#, with the idea that users should be able to quickly edit and
prototype ruby scripts. Part of the application's requirements is to
have the ability to handle compilation/syntax errors and runtime
exceptions, as wel
Hi Tomas,
I've been playing around with DynamicMethod and generating IL at
runtime, with varying levels of success. Currently I'm using
DynamicMethod to generate the IL to load arguments, load function
address, calli and ret. My script gets access to the DynamicMethod
object, which gets passed
Hi all,
I'm working on using metasm (http://metasm.cr0.org/) with IronRuby in
order to generate
and ultimately execute code at runtime. At the moment, I've been
successful in using
metasm to get back a string containing the encoded x86 instruction
opcodes. The next step
would be to allocate memory