[IronPython] Debugging embedded IP?

Matthew Swank matt at wecollectmore.com
Wed Apr 11 22:03:32 CEST 2007

*in a Mr. Burns voice*

Thanks again,


-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Dino Viehland
Sent: Wednesday, April 11, 2007 2:46 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Debugging embedded IP?

You can call PythonEngine.CreateOptimizedModule on the engine to create the
module which will be fully debuggable.  After you get the module back you'll
need to inject your runtime objects and then call Execute on the module.
The referenced assemblies happen at the engine level rather than the module
level so you can do those whenever.  If you want to also import them on
behalf of the user you can call the Import API on the OptimizedEngineModule

More information about the Ironpython-users mailing list