Re: [IronPython] -X:EnableProfiler and DLR hosting API

2009-08-06 Thread Mads Weitling
Thank you for the answer :) I found this article which tells me that a script can now enable the profiler from within itself: http://blogs.msdn.com/curth/archive/2009/04/11/profiler-part-ii-poor-man-s-code-coverage.aspx

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

2009-08-05 Thread Mads Weitling
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 ( http://blogs.msdn.com/curth/archive/2009/03/29/an-ironpython-profiler.aspx) from an embedded interpreter but cannot figure out how to

[IronPython] sys.builtin_module_names and embedding

2009-07-15 Thread Mads Weitling
I am trying to run som IronPython code using the 2.6b1 hosting API but cannot seem to import the basic 'builtins' defined in IronPython.Modules.dll from my IronPython host. When using ipy.exe, things work fine: ipy.exe -v >>> import sys >>> sys.builtin_module_names ('clr', 'future_builtins', 'sys',