[IronPython] -X:EnableProfiler and DLR hosting API (2.6b2)

Mads Weitling mads.weitling at gmail.com
Wed Aug 5 00:54:04 PDT 2009

Hi all and many thanks to Dino Viehland for answering my previous
question re: sys.builtin_module_names and embedding.

I am trying to use the IronPython profiler (
from an embedded interpreter but cannot figure out how to pass the
-X:EnableProfiler to my ScriptEngine instance.

    _engine = Python.CreateEngine();
    // prints True

    // throws an System.NotSupportedException

How do I set up the Runtime.Setup.HostArguments before calling

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20090805/68abe3ed/attachment.htm>

More information about the Users mailing list